Managing Recordings
Extracting a Recording from the Modem
-
Run
scpfrom a terminal on your computer, replacing<modem-ip>and the filename with the actual values:scp root@<modem-ip>:/captures/harbor_test.wav .Use the complete recording filename, including any timestamp added by the modem.
-
When prompted for the password, enter
root.
The recording downloads to your current directory.
Downloading all Recordings
To download all WAV recordings into a local folder:
scp root@<modem-ip>:/captures/*.wav <local-folder>/
If the modem reports that SFTP is unavailable, add -O to use the legacy SCP protocol:
scp -O root@<modem-ip>:/captures/harbor_test.wav .
Playing a Recording through a Transducer
The playback mode should match the mode used to create the recording.
-
Select the playback mode. Use
0for passband playback or1for baseband playback:PlayMode 0noteBaseband recording can interfere with normal modem operation because it shares signal-processing resources with the modem. Use passband mode unless baseband samples are specifically required.
-
Start playback using the complete recorded filename and a scale factor. Begin with a conservative scale such as
0.5:playstart /captures/<recorded-filename>.wav 0.5 -
Allow the file to finish, or stop playback manually:
playstop
Viewing Recordings
You can view the recorded waveform in the Popoto Web Interface. When you connect the modem to the Popoto Web Interface over Ethernet, the recording file will display on the Recordings page. Refer to Viewing the Waveform Recording for details.
For an example use of the Popoto recording capabilities, refer to Recording Use Case - Test Modulation Scheme.
Final Step - Reset Local and Remote IDs
Before deploying the modems, reset each modem's Local ID and Remote ID to the default of 255:
LocalID 255
RemoteID 255
That's It! Congratulations! You have now completed a basic end-to-end test. You have successfully verified communication, estimated the range between modems, sent a test payload, and recorded modem audio.