EasyManua.ls Logo

BSWA 308 - Page 91

BSWA 308
126 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BSWA 308/309 BSWA Technology Co., Ltd
89
BAT?: Query Battery State
Instruction
Parameters
Explanation
BAT
Query parameter: ?
ASCII
B
A
T
?
Hex
42H
41H
54H
3FH
Byte
1
1
1
1
Return
Returns the power state and supply voltage
Power state: 0=Battery; 1=External power; 2=USB power
Supply voltage: xx.xx V
Example: query battery state
02 01 43 42 41 54 3F 03 2B 0D 0A
Returns: the current battery state is external power supply, supply voltage is 9.24V
02 01 41 31 2C 30 39 2E 32 34 03 7D 0D 0A
TRGp1: Set Trigger
Instruction
Parameters
Explanation
TRG
p1: Trigger switch;
0=OFF;
1=ON;
Default: 0
ASCII
T
R
G
0
Hex
54H
52H
47H
30H
Byte
1
1
1
1
Return
ACK / NAK
Example: set trigger as OFF
02 01 43 54 52 47 30 03 32 0D 0A
Return: ACK
02 01 06 03 06 0D 0A
TRG?: Query Trigger Setting
Instruction
Parameters
Explanation
TRG
Query parameter: ?
ASCII
T
R
G
?
Hex
54H
52H
47H
3FH
Byte
1
1
1
1
Return
Return Trigger settings

Table of Contents

Related product manuals