How to Find Driver Info Using Driver ID and RS232 & USB

Related Questions

Applies To

  • Hardware Development Kit
  • MyGeotab SDK
  • Add-on Protocols
  • RS232 & USB

Procedure

  1. Read Message Type 0x21 as outlined here.
  2. Pull Driver ID at position 39 with a length of 4 bytes.
  3. Pull Driver info using UserSearch in a Get call. The Driver ID retrieved from step 2 should be used here. Example:
api.call("Get", {

"typeName": "User",

"search":{"keyId":"00000000<driver ID>"}

});

Additional Notes

Note that the keyId field must be 16 digits in length, so pad with leading 0s as shown, if necessary. 

Driver ID is reported in big-endian format.

API reference