iSuiteTM 3 SDK Protocols - Ping


iSuite protocols can detect a specific "ping" sequence that can be used to verify that the iSuite software is running and to detect which protocol the software is configured to use on the port at what baud rate.

The ping query is a a three-letter string "<?>" that is sent to a serial port by the host:

Byte 1
'<'
Byte 2
'?'
Byte 3
'>'

If iSuite protocol is present in the port and the baud rate is correct, the protocol replies to the query with a similar string, except that the reply string has additional protocol identifier field.

Valid reply strings are  "<?0>" for iTalk protocol and "<?1>" for NMEA protocol:

Byte 1
'<'
Byte 2
'?'
Byte 3
Protocol identifier:
- 0 for iTalk
- 1 for NMEA
Byte 4
'>'

Example: Query if there's an iSuite protocol present in port COM1 at 4800 baud

Send this string to port COM1 at 4800 baud:
<?>
iTrax replies with this string:
<?1>

The received reply "<?1>" indicates that there's NMEA protocol present in the port at the given baud rate.



Go to beginning


Fastrax Oy