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.
|
2024-03-01 13:58:28 +00:00
|
|
|
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.
|
2024-03-01 13:58:28 +00:00
|
|
|
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.
|
2024-03-01 13:58:28 +00:00
|
|
|
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> .
|