Download Print this page

GSE GSatMicro Operation Manual page 7

Advertisement

Functions
Lua
These options can be sent to the terminal via the "Send Command" function within the
tracking platform, or entered through the RS232 serial connection, or the USB cable
via CDC mode.
NOTE: Commands sent from the tracking platform will not show command output
anywhere other than on the serial console. However, messages can be composed using
the tracking platform's functions and the Iridium transmit function can be used to send
them.
GPS
functions¶
// GPS Power
gps.setpower( {mode} )
NOTE: Iridium modem must be powered on for GPS to get signal
mode:
1: on and initialize
0: off
// Get GPS Time
{second}, {minute}, {hour}, {day}, {month}, {year} = gps.gettime()
{epochseconds} = gps.getunixtime()
// Get Position
{latitude}, {longitude}, {speed}, {altitude}, {course}, {hdop} = gps.getpos()
Messaging
functions¶
// Encode position report in Palmer format
{string} = gsattrack.encposition({latitude}, {longitude}, {speed}, {course},
// Encode email/text message
{string} = gsattrack.enctext( {destination}, {message} )
// Encode settings report
{string} = gsattrack.encsettings()
{battery percent}, {minute}, {altitude},
{epochseconds} )
GSat.us • sales@gsat.us • 954-459-4000
sa les@gsa t.us : gsa t .us

Advertisement

loading
Need help?

Need help?

Do you have a question about the GSatMicro and is the answer not in the manual?