Skip to main content

Socket-Based JSON

The common communication format for Popoto is JSON messages over sockets. Although there are many ways and APIs to communicate with Popoto, all of these methods and APIs reduce to creating or displaying a JSON message to or from a socket.

Popoto Modem socket interfaces are shown in the following figure:

Popoto Modem socket interfaces
Popoto Modem socket interfaces.

Popoto API Sockets​

I/O to the embedded Popoto software is accomplished using IP sockets. Even analog signal data supports socket I/O. This provides flexibility for interface design, testing, software portability, and software test.

These sockets can also interface through a thin layer of code to provide familiar standard interfaces used in the field, such as RS-422. Sockets are specified by the IP address of the Popoto Modem as set by the user.

In addition to the IP address, the following ports are used:

Popoto Modem Ports
PortInterfaceNotes
17000Command portPrimary command socket
17001Data portTelnet
17002PCM logging portNot for typical use
17003PCM output portNot for typical use
17004PCM input portNot for typical use