Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to correctly decode the U? and u? commands.
#1
What is the correct way to decode the U? and u? command strings. From the documentation there is a 2-byte hex value returned which needs to be translated to decimal.

The following example explains:

U?0A060211
u?51010207

Is it 6.02 and 2.07 or 6.002 and 2.007?

Ingo
Reply
#2
U? means Get UCM firmware
U?0A060211
means UCM Type 10 (General UCM) version 6.002 ID is 1
these are hexadecimal numbers the versions can go from 0 to 255, so we call it 6.002 and not 6.02

u? is the info for a module ID

u?51010207
means SCS/RIO 1 Subtype 1 which is RIO, version 2.007
Reply
#3
Thanks, I thought as much but just needed confirmation.

Ingo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)