Skip to main content

Sending a Test Payload

Use transmitJSON at the pshell prompt to send a test payload from one modem to another.

  1. On Modem 1, confirm that RemoteID is still set to 20, the Local ID of Modem 2:

    RemoteID

    If it returns a different value, set it with RemoteID 20.

  2. Select a payload mode. The following example selects payload mode 1:

    PayloadMode 1
  3. Select a conservative transmit-power setting for the test:

    TxPower 4
    note

    A 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.

  4. 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.

  5. Monitor the transmitting pshell for transmission status. A successful transmission completes with a TxComplete alert.

  6. Monitor the receiving modem's pshell. Confirm that it reports a received packet and displays the payload data.

Example​

Modem 1 (Transmission)

Sending a Test Payload
Sending a Test Payload in pshell.

Modem 2 (Reception)

Receiving a Test Payload
Receiving a Test Payload in pshell.
note

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.

Next: We'll record modem audio for troubleshooting and analysis.

Continue to Recording Modem Audio.