USER MANUAL
TCM 515Z – 2.4 GHZ IEEE 802.15.4 Transceiver
© 2017 EnOcean | www.enocean.com
F-710-017, V1.0
TCM 515Z User Manual | v1.6 | September 2017 | Page 42/46
C.2.3
SET_CHANNEL Command
The SET_CHANNEL command sets the radio channel used by TCM 515Z. Please refer to
chapter 2.3 for details about the supported radio channels.
The command structure of the SET_CHANNEL command is shown in Table 11 below.
Group Offset Size Field
Value hex Description
-
0
1 Sync. byte
0x55
Header
1
2 Data Length
0x0002
2 bytes
3
1 Optional Length 0x00
0 byte
4
1 Packet Type
0x11
Packet Type 0x11: IEEE 802.15.4 COMMAND
-
5
1 CRC8H
0xnn
Data
6
1 COMMAND Code 0x01
COMMAND 0x01: SET_CHANNEL
7
1 Channel
11-26
IEEE 802.15.4 radio channel
-
8
1 CRC8D
0xnn
Table 11 - Command Structure for the SET_CHANNEL command
C.2.4
RESPONSE for SET_CHANNEL Command
The expected RESPONSE code for a SET_CHANNEL command is:
00: RET_OK
The frame structure for a RESPONSE to the SET_CHANNEL command is shown in Table 12
below.
Group Offset Size Field
Value hex
Description
-
0
1 Sync. byte
0x55
Header
1
2 Data Length
0x0001
1 byte
3
1 Optional Length 0x00
0 byte
4
1 Packet Type
0x02
Packet Type 0x02: RESPONSE
-
5
1 CRC8H
0xnn
Data
6
1 Return Code
0xnn
00
-
7
1 CRC8D
0xnn
Table 12 - RESPONSE Frame Structure for SET_CHANNEL command