ABSensor N03 sensor data in custom format


#1

Hi
when I scan for sensor data in custom format I see this bytes(beginning with the service UUID 0x59 0xFE)
59 FE AB 03 90 04 1B 61 11 D7 64 B3 00 76 00 10 00
According to your wiki https://wiki.aprbrother.com/en/ABSensor.html#absensor-n03 I should see
21 bytes, but I see only 17.
So what’s the correct scheme and how can I extract semsor data?

Best regards
Guenter


#2

According the document, it’s correct.

Byte(s) Name Value Notes
9, 10 Service UUID 0x59, 0xFE 16-bit Service UUID for OTA service
11 Company ID 0xAB
12 Device Type 0x03
13,18 Mac Address
19 Battery Level 0x02
20,21 Temperature 0xD400 Reverse the value first. Divide 8 for real temperature value. Eg. 0x00D4 = 212, 212 / 8 = 26.5°C
22,23 Humidity 0x6700 Reverse the value first. Divide 2 for real humidity value. Eg. 0x0067 = 103, 103 / 2 = 51.5
24,25 Light 0x0700 Reverse the value first. 0x0007 = 7

#3

Sorry, my fault, work late at night…
Another question:
The bytes 24,25 for light. What do I get there? When I test, I see values 0…255


#4
  • Put the sensor under light
  • Please use our iOS app AprilBeacon to detect the light sensor values.
  • Check the advertising data again if you saw the light sensor value changed