Posted: Saturday Jun 4th, 2011 02:42 pm |
|
1st Post |
Ingo
UCM Pi Users
Joined: | Sunday Jan 21st, 2007 |
Location: | South Africa |
Posts: | 562 |
Status: |
Offline
|
back to top
|
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
|
Posted: Sunday Jun 5th, 2011 02:27 am |
|
2nd Post |
ident
Administrator
Joined: | Wednesday Aug 9th, 2006 |
Location: | Singapore |
Posts: | 3493 |
Status: |
Offline
|
back to top
|
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
|
Posted: Sunday Jun 5th, 2011 05:11 am |
|
3rd Post |
Ingo
UCM Pi Users
Joined: | Sunday Jan 21st, 2007 |
Location: | South Africa |
Posts: | 562 |
Status: |
Offline
|
back to top
|
Thanks, I thought as much but just needed confirmation.
Ingo
|
|