2JCIE-BL01-P1 Environment Sensor (PCB Type) User’s Manual (A280)
25
2.3.3
Error status
(Characteristics UUID: 0x3033)
Various error conditions of the sensor are indicated by a bit field. The error state can be reset by
writing 0 from the Central device.
*Just reading this characteristic does not reset the state.
Table 28. Error status format
Byte
Field
Format
Contents
0
Sensor Status
UInt8
Bit 7
:
RFU
Bit 6
:
Error: Accelerometer*
Bit 5
:
Error: Microphone
Bit 4
:
Error: Barometric Pressure sensor
Bit 3
:
Error: UV sensor
Bit 2
:
Error: Light sensor
Bit 1
:
Error: Humidity sensor
Bit 0
:
Error: Temperature sensor
*valid only with built-in Accelerometer type
1
CPU Status
UInt8
Bit 7-2
:
RFU
Bit 1
:
Boot default setting
Bit 0
:
Flash memory verify error
2
Power Status
UInt8
Bit 7-2
:
RFU
Bit 1
:
Error in reading supply voltage
Bit 0
:
Low voltage
3
RFU
UInt8
Bit 7-0
:
RFU
2.3.4
Trigger
(Characteristics UUID: 0x3034)
After setting 0x01 for DFU Service, subsequent Service Discovery operation can discover hidden DFU
Service.
Table 29. Trigger format
Byte
Field
Format
Contents
0
RFU
UInt8
0x00
:
None (Always set to 0x00)
1
DFU Service Enable / Disable
UInt8
0x00
:
Disable
0x01
:
Enable