JSON Command Message
The basic structure for commanding Popoto Modems uses a JSON command message. This message consists of two parts: the Command keyword and the Arguments keyword.
The basic command structure is:
{
"Command": "",
"Arguments": ""
}
Example: Get the software version
An example of a simple JSON command is the command to check the software version:
{
"Command": "GetVersion",
"Arguments": "Unused Arguments"
}
The modem responds with:
{
"Info": "Popoto Modem Version 2.7.0"
}
Keyword Return Values
Popoto Modem returns information to the user using various keyword identifiers. These return keywords are designed to be self-identifying and can be used for user application parsing.
System-Level Variables
Popoto Modem contains various internal variables. These variables are mode variables, configuration variables, or parameters extracted from the signal.