Sending a Test Payload with pshell
Use transmitJSON at the pshell prompt to send a test payload from one modem to another.
Before beginning, verify that both modems are powered on, connected to transducers, and accessible through separate pshell sessions.
-
On the receiving modem, display its local address:
LocalIDNote the returned
LocalIDvalue. -
On the transmitting modem, set
RemoteIDto the receiving modem'sLocalID. Replace<receiver-id>with the value from the previous step:RemoteID <receiver-id> -
Select a payload mode. The following example selects payload mode
1:PayloadMode 1 -
Select a conservative transmit-power setting for the test:
TxPower 4A low setting is appropriate for an air test with the transducers separated by a short distance. Adjust the setting as required for the test environment.
-
Send a test payload:
transmitJSON {"Payload":{"Data":[72,101,108,108,111,32,80,111,112,111,116,111]}}The byte values represent the text
Hello Popoto. -
Monitor the transmitting pshell for transmission status. A successful transmission completes with a
TxCompletealert. -
Monitor the receiving modem's pshell. Confirm that it reports a received packet and displays the payload data.
Enter the entire transmitJSON command on one line.
If the receiving modem does not decode the message during an air test, reduce acoustic reflections by repositioning the transducers or placing sound-absorbing material near reflective surfaces.