iSuiteTM 3 SDK
Protocols - Ping
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> |
Go to beginning