Write User Location G Value; Read User Location G Value - Excell Wireless Platform Service Manual

Table of Contents

Advertisement

EXCELL PRECISION CO., LTD.

12-1-5. Write User Location G Value

This 43(Hex) sub-command set can be written only when Calibration Mode is enabled.
Write UUID E812 handle (Hex) with the following command(s):
Calibration
Length
Sub-Command
Command
(Hex)
(Hex)
(Hex)
99
05
43
Read UUID E812 handle, which will return 99 02 7F .... (please refer to 12-1-39 Return Read & Write
Status ).
Execution conditions for these
commands

12-1-6. Read User Location G Value

Write UUID E812 handle (Hex) with the following command(s):
Calibration Command (Hex)
99
After the above 'Read' command set is successfully written to the UUID E812 handle, there will be
return values (Hex data) after reading the UUID E812 handle, such as the following:
99 05 03 GG GG GG GG
GG GG GG GG: for such is 4bytes Type A 's G value Data ; please refer to 12-1-5 Write User Location G
Value.
If the 'Write' operation has failed, reading UUID E812 handle will instead return 99 02 7F .... (please
refer to 12-1-39 Return Read & Write Status).
Execution conditions for these
commands
TM
4-byte Type A Data
'Write' Description
(Hex)
User Location G value (MSB~LSB), Type A Data
For G value, take the integer part (1 digit) and
5 decimal places after the decimal point (5
digits), then convert all 6 digits to an integer.
Note that the first bit must be 0.
Example: G value 9.78914 -> 978914 (take 5
GG GG GG GG
decimal places, then convert the entire
number to an integer).
978914 -> 0E EF E2 (base-16 (order adjusted))
0E EF E2 -> 3B 5F 62 (converted to Type A
Data)
Therefore the command is 99 05 42 00 3B 5F
62
Calibration Mode
Executable
Length (Hex)
01
Calibration Mode
Executable
40
Normal Mode
Not executable
Sub-Command (Hex)
03
Normal Mode
Executable
ZSME000000026

Advertisement

Table of Contents
loading

Table of Contents