Orient ОС-101 [148/244] Note field 6 battery status i e electric quantity one byte

Orient ОС-201 [148/244] Note field 6 battery status i e electric quantity one byte
COMNAV OEM BOARD REFERENCE MANUAL
Chapter 4. Logs Messages
ComNav Technology Ltd.
129
CNT-OEM-RM001, Rev 1.8
NOTE: Field#6, battery status (i.e. electric quantity), one byte
BIT7
BIT6
BIT5
BIT4
BIT3
BIT2
BIT1
BIT0
BIT7: Battery #2
BIT6: Battery #1
BIT5-BIT0: Electric quantity of Battery #1 or Battery #2 which is subject to the value of BIT7 and BIT6.
The battery electric quantity percent (0% ~ 100%) is represented by 64 numbers (0 ~ 63). An exception
is that the number ‘0’ represents the battery is not available or not mounted, since it’s impossible a
battery has a %0 electric quantity.
The electric quantity of Battery #1 and #2 is presented in each M925 and SATMSG log message
alternately. If BIT7 is set as 1, the value of BIT5-BIT0 represents Battery #2’s electric quantity, and a zero
value of BIT5-BIT0 means that Battery #2 is not available. Similarly, if BIT6 is set as 1, the value of
BIT5-BIT0 represents Battery #1’s electric quantity, and a zero value of BIT5-BIT0 means that Battery #1
is not available. It’s definitely impossible that both BIT7 and BIT6 are set to as 1 at the same time.
If Field#6 is extracted, battery electric quantity can be calculated as:
Battery electric quantity = Round up the value of ((Field#6 & 0x3F) × 101 / 0x40)
Attention please, once battery electric quantity decreases down to 10%, it would drop down steeply
and a warning for changing a new battery is necessary.
Table 40.Frequency Flag (Version 3)
BIT
DESCRIPTION
BIT7
G2 information involved (GLONASS: G2)
BIT6
G1 information involved (GLONASS: G1)
BIT5
B3 information involved (BD2: B3)
BIT4
B2 information involved (BD2: B2)
BIT3
B1 information involved (BD2: B1)
BIT2
L5 information involved (GPS: L5)
BIT1
L2 information involved (GPS: L2)
BIT0
L1 information involved (GPS: L1)

Содержание

Скачать