You are on page 1of 9

Bluetooth Thermome

1.    RS232 Transmit agreement:

[9600 Baud rate] [None Party] [8 Bit data] [1 Bit stop]


BLE UUID:
Receive:Service UUID:0xFFF0, Characteristic UUID:0xFFF1
Send out:Service UUID:0xFFF0, Characteristic UUID:0xFFF2
2.   Data Protocol:
2.1 For a complete instruction:
Directive 2.1.0 is divided into three formats as follows:
Class A directive A:Sending Control Instructions on Mobile Phone: 6B
Byte1 Byte2 Byte3
FE FD XX
Note: Specific instructions refer to 2.2.0~2.2.1 instruc
Class B instruction B: Device sends temperature result or replies ack com
Byte1 Byte2 Byte3
FE FD CF Flag bit
Note: Specific instructions refer to 2.2.2 instructions.
Note: If Byte3 = 0x1A, then degree C, Byte3 = 0x15, t
2.1.1 Command head 0xFE, 0xFD; command tail 0x0D, 0x0A。
2.1.2 Data area
Class A directive :Byte3、Byte4
Class B instruction :Byte3、Byte4、Byte5
2.2 Command specification:
The following instructions are sent once by mobile phone. If IR does not
invalid for the APP button, the APP button will be re-keyed.
Infrared thermometer starts by pressing the bu
2.2.0:
thermometer receives the follow

Class A directive A_a: FE FD AA A0 0D 0A

Note: byte4 = 0xAA means sending and receiving co


code reversal, byte3 means CF.
When IR receives the above instructions, the connect
If the connection is successful, the temperature resul
turn off the device manually or by command, and tur
2.2.1Press "Shut down" and the phone sends
the following instructions once.:

Class A directive A_b: FE FD AA 91 0D 0A

Note: byte4 = 0xAA means sending and receiving co


code reversal, byte3 means CF.
2.2.2 After the IR measurement is completed, the following results are se

Class B instruction B_a: FE FD 1A 01 TH TL 0D 0A

For example, the temperature of FE FD 1A 0101 760D


phone shows "37.0 degrees Celsius".
For example, the temperature of FE FD 1501 03 DA 0
phone shows "98.6F".

Class B instruction B_b: FE FD 1A 00 TH TL 0D 0A

Note: Instruction B_a denotes a forehead temperatur


actual temperature measurement.

Class B instruction B_e: FE FD 1A 81 00 01 0D 0A

Class B instruction B_f: FE FD 1A 82 00 02 0D 0A

Class B instruction B_g: FE FD 1A 83 00 03 0D 0A

Class B instruction B_h: FE FD 1A 84 00 04 0D 0A

Class B instruction B_i: FE FD 1A 85 00 05 0D 0A

Class B instruction B_j: FE FD 1A 86 00 06 0D 0A

Class B instruction B_k: FE FD 1A 87 00 07 0D 0A


Class B instruction B_L: FE FD 1A 88 00 08 0D 0A

Note: Above, when byte3 = 0x15, degree F


3.After pairing, the mobile phone will enter the receiving state. If the IR test itself is com
th Thermometer (IR) Communication Protocol

D:0xFFF1
ID:0xFFF2

ws:
s on Mobile Phone: 6Bytes
Byte4 Byte5 Byte6
XX 0D 0A
to 2.2.0~2.2.1 instructions.
sult or replies ack command: 7Bytes
Byte4 Byte5 Byte6 Byte7 Byte8
XX XX XX 0D 0A
to 2.2.2 instructions.
ree C, Byte3 = 0x15, then degree F
D, 0x0A。

e4
e4、Byte5、Byte6

phone. If IR does not reply within 0.5 seconds, it will be retransmitted, up to three times. If no response is d
e-keyed.
ts by pressing the button and powers Bluetooth module, waiting for Bluetooth connection. If the infrared
ter receives the following command and replies to ACK, the connection will be successful.
After receiving the instruction, IR replies to the instruction code to
retrieve and execute the function:FE FD 1A AA 55 5F 0D 0A
ding and receiving commands, byte5 = 0x55 means command "AA" reversal, byte6 = 0x5F means "A0" com

tructions, the connection is successful.


he temperature result will be sent at the end of the measurement. Otherwise, only the display will not be se
by command, and turn off the Bluetooth power supply.

After receiving this instruction, IR shuts down and replies to APP. Mobile software can exit.

After IR receiving the instruction, reply to the instruction code to


reverse and then execute the function:FE FD 1A AA 55 6E 0D 0A

ding and receiving commands, byte5 = 0x55 means command "AA" reversal, byte6 = 0x6E means "91" comm

llowing results are sent voluntarily:


Note: TH is at high temperature and TL is at low temperature. The Note: 01 indicates normal f
final temperature is (TH*256+TL)/10. measurement, THTL
f FE FD 1A 0101 760D0A is 37.0C. The "temperature display bit" of the mobile
sius".
f FE FD 1501 03 DA 0D0A is 98.6F. The "temperature display bit" of mobile

Note: TH is at high temperature and TL is at low temperature. The Note: 00 indicates the norm
final temperature is (TH*256+TL)/10. temperature, THTL
forehead temperature measurement and instruction B_b denotes a target
nt.
Human body mode: excessive temperature measurement. Mobile Note: 8100 01 indicates tha
phone "temperature display bit" shows "HI"+human body symbol human body pattern measu
Human body mode: measuring temperature is too low. Mobile Note: 820002 indicates that
phone "temperature display bit" shows "LO"+human body symbol human body pattern measu
Indicates a test error. "Temperature Display Bit" shows "ErH" Note: 8300 03 indicates exc
(ambient temperature is too high) temperature
Indicates a test error. "Temperature Display Bit" shows "ErL" Note: 840004 indicates exce
(ambient temperature is too low) temperature

Represents hardware errors. "Display bit" displays "ErC" Note: 8500 05 indicates har

Represents voltage and low voltage. "Display bit" shows "low


Note: 860006 indicates hard
voltage symbol"
Object Mode: Measuring Temperature Excessively High. Mobile
Note: 8700 07 indicates tha
Phone "Temperature Display Bit" Displays "HI"+Ambient
measured in object mode is
Temperature Symbol
Object mode: Measuring temperature is too low. Mobile phone
Note: 8800 08 indicates tha
"temperature display bit" shows "LO"+environment temperature
measured in object mode is
symbol.
5, degree F
e IR test itself is completed and the test results of 2.2.2 are sent, the mobile phone can also receive the
col Gadget
Command Take the
Function inverse
Code code
A0 5F
91 6E

o three times. If no response is deemed to be

oth connection. If the infrared


0.5S once, until success
be successful.

l, byte6 = 0x5F means "A0" command function


se, only the display will not be sent. You can

Mobile software can exit.

l, byte6 = 0x6E means "91" command function

Note: 01 indicates normal forehead temperature


measurement, THTL

Represents high and low temperature bytes

Represents high and low temperature bytes

Note: 00 indicates the normal target measurement


temperature, THTL
Represents high and low
temperature bytes
Note: 8100 01 indicates that the temperature of
human body pattern measurement is too high.
Note: 820002 indicates that the temperature of
human body pattern measurement is too low
Note: 8300 03 indicates excessive ambient
temperature
Note: 840004 indicates excessive ambient
temperature

Note: 8500 05 indicates hardware error

Note: 860006 indicates hardware error

Note: 8700 07 indicates that the temperature


measured in object mode is too high.
Note: 8800 08 indicates that the temperature
measured in object mode is too low

bile phone can also receive the test results..

You might also like