Petrel User Manual 0.1
10
Commands
Below are commands for the Petrel. At this time, commands can only be sent over Bluetooth.
•
Each command starts with a dollar sign ($). The Bluetooth app pre-pends this
automatically.
•
If a parameter is possible (marked with an X below), that parameter can be an integer to
change the setting, or a question mark (?) to query the current settings.
Command
Description
aisname X
Get the ais name that the unit will use in its AIS messages.
mmsi
Get the MMSI number that the unit will use in its AIS messages.
gpstimeout X
Duration GPS runs before shutting off, in seconds.
wsthresh X
The water/underwater threshold.
wsr
Perform a water sense check. (This command is for testing purposes and
does not cause the unit to change states.)
wsperiod X
The rate of water sense checks while in the underwater mode. Sent as an
integer representing the number of seconds in between water checks.
wsbackper X
The period of backup water checks. Example: If this is set to 5, every fifth
water check will consist of a backup water check.
sn
Show the unit’s
production serial number.
rv
Query the unit’s supply voltage. Result is measured in volts.
gpsstats
The unit will display various GPS statistics and metadata.
sleep
The unit will immediately transition to underwater mode.
resetnow
The unit will reset itself. No settings will be changed.
shutdown
Turn off the unit as if it had received magnet swipes.
hdw
Show the unit’s hardware revision.
ver
Show the unit’s current firmware version.
self_test
The unit will run a battery of self tests and display the results.