2JCIE-BL01 Environment Sensor User’s Manual (A278)
18
2.2.4
Ambient light
(Characteristics UUID: 0x3015)
Light sensor related event settings
.
Table 19. Ambient Light format
Byte
Field
Format
Contents
0
Event Enable/Disable
UInt8
Bit 7-6 : RFU
Bit 5 : Simple threshold [lower limit]
Bit 4 : Simple threshold [upper limit]
Bit 3 : Changing trend [decline/term]
Bit 2 : Changing trend [rise/term]
Bit 1 : Changing trend [decline/previous]
Bit 0 : Changing trend [rise/previous]
Enable: 1, Disable: 0
Default
:
0x00
1
Changing trend threshold
[rise/previous]
L
SInt16
Unit
:
1 lx
Range
:
1
~
2000 lx
Default
:
0x00C8 (200 lx)
2
H
3
Changing trend threshold
[decline/previous]
L
4
H
5
Changing trend threshold
[rise/term]
L
6
H
7
Changing trend threshold
[decline/term]
L
8
H
9
Simple threshold
[upper limit]
L
SInt16
Unit
:
1 lx
Range
:
10
~
10000 lx
Default
:
0x07D0 (2000 lx)
10
H
11
Simple threshold
[lower limit]
L
Unit
:
1 lx
Range
:
10
~
10000 lx
Default
:
0x00A (10 lx)
12
H
13
Term for changing trend
(Number of Measurements)
UInt8
Unit
:
1 count
Range
:
1
~
8 count
Default
:
0x06 (6 count)
14
Moving average number
UInt8
Unit
:
1 count
Range
:
1
~
8 count
Default
:
0x01 (1 count)