Skip to main content

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.

  1. On the receiving modem, display its local address:

    LocalID

    Note the returned LocalID value.

  2. On the transmitting modem, set RemoteID to the receiving modem's LocalID. Replace <receiver-id> with the value from the previous step:

    RemoteID <receiver-id>
  3. Select a payload mode. The following example selects payload mode 1:

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

    TxPower 4

    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.

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

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

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

note

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.