EnOcean GmbH TCM515B Manual Do Utilizador

Página de 37
 
USER MANUAL
 
 
 
 
TCM 515B – 2.4 GHZ BLUETOOTH LOW ENERGY (BLE) Transceiver 
 
 
© 2017 EnOcean  |  www.enocean.com  
 
F-710-017, V1.0     
 
TCM 515B User Manual  | v0.5 | October 2017 |  Page 17/37
 
3.7.2 
Sensor Status 
 
The Sensor Status field encodes the current status (last reported value) of a sensor.  
 
As described above, the type of the sensor data is identified by the Data Type ID field and 
its size is identified by the Data Size field of the preceding Sensor Data Descriptor. 
 
Table 3 below shows the sensor status encoding used by TCM 515B. 
 
 
 
Table 3 – Sensor status encoding 
 
 
ID
Type
Size
[bytes]
signed
Minimum
Maximum
Unit
Encoding
(Input = x)
Measurement
too low
Measurement
Invalid 
0x00 Temperature
2
yes
-327.67
327.66
°C
100 * x
0x8000
0x7FFF
0x01 Voltage
2
yes
-16 383.5
16 383.5
mV 2 * x
0x8000
0x7FFF
0x02 Battery level
1
no
0
126.5
%
2 * x
0xFF
0xFE
0x03 Current
2
yes
-32 767
32 766
μ
A
x
0x8000
0x7FFF
0x04
Illuminance
(wide angle)
2
no
0
65 533
lx
x
0xFFFF
0xFFFE
0x05
Illuminance 
(Narrow angle)
2
no
0
65 533
lx
x
0xFFFF
0xFFFE
0x06 Relative humidity
1
no
0
126.5
%
2 * x
0xFF
0xFE
0x07 Pressure
2
yes
-32 767
32 766
hPa x
0x8000
0x7FFF
0x08 Distance
2
no
0
~1023.95
cm
64 * x
0xFFFF
0xFFFE
0x09 Gas concentration
2
no
0
32 766.5
ppm 2 * x
0xFFFF
0xFFFE
0x0A Acceleration
2
yes
~-16
~16
G
2048 * x
0x8000
0x7FFF
ID
Type
Size
[bytes]
0x20 Occupancy
1
0x00: 
Generic Error
0x01:
Not occupied
0x02: 
Occupied
0x21 Smoke
1
0x00:
Generic error
0x01:
No smoke
0x02: 
Smoke
(ion chamber)
0x01:
Up
0x02: 
Right
0x05:
Up to right
0x06: 
Right to down
0x09:
Up to left
0x0A:
Left to down
0x23 Open/closed
1
0x00:
Generic error
0x01:
Closed
0x02:
Open
0x3B Device descriptor
Variable
0x3C Error report
1
0x00: No error
0x3D User data
Variable
0x3E Commissioning
26
Commissioning telegram: 4 byte Sequence Counter + 6 byte Source Address + 16 byte Private Key
Other values: Application specific
All values: Application specific, Size defined by descriptor
All values: Application specific, Size defined by descriptor
Enumerations
System Messages
Enumerated values
0x08: 
Left to up
0x07: 
Down to left
0x00:
Generic error
0x03:
Standby
0x03: 
Smoke
(opt. chamber)
0x03: 
Down
0x0B: 
Down to right
0x22 Mechanical handle 1
0x04: 
Smoke
(both chambers)
0x04: 
Left
0x0C: 
Right to up