synit/protocols/schemas/samsungGalaxyS7.prs

20 lines
794 B
Plaintext
Raw Normal View History

2021-12-29 01:04:36 +00:00
version 1 .
2023-10-31 22:40:41 +00:00
# Definitions for the internal workings of the Samsung Galaxy S7 modem driver.
2021-12-29 01:04:36 +00:00
2023-10-31 22:40:41 +00:00
# Assertion. Declares presence of a Hayes modem.
ModemPresent = <modem =samsung-galaxy-s7 @devicePath string @dataspace #:InternalProtocol> .
2021-12-29 01:04:36 +00:00
2023-10-31 22:40:41 +00:00
# TODO not yet properly specified
2021-12-29 01:04:36 +00:00
InternalProtocol = any .
ModemPacket = @in <from-modem @packet any> / @out <to-modem @packet any> .
2023-10-31 22:40:41 +00:00
# The bodies are instances of SamsungFmtMessage and SamsungRfsMessage, respectively.
FmtPacket = <fmt @body #:any> .
RfsPacket = <rfs @body #:any> .
2022-01-04 13:41:56 +00:00
2023-10-31 22:40:41 +00:00
# Assertion. Asks the modem to execute the given command.
CommandRPC = <execute-command @command FmtPacket @replyTo #:FmtPacket> .
2023-10-31 22:40:41 +00:00
# Message. Asks the modem to execute the given command, but not to send back the reply.
2022-03-01 10:21:20 +00:00
CommandEvent = <execute-command @command FmtPacket> .