
6
6-3 Control Command
FPort
:
0x21
6-3-1 IR Learning
NEW IR learn request(IR)
IR Index - 2 bytes - Index of IR Command
NEW IR learn Confirm response(IR)
Actual IRIndex - 2 byte - Index of IR Command Assigned by device
Data index number - byte - IR array have all piece number.
Data Index - byte - Index of IR Data array.
Data len - byte - length of IR array.
Data – var bytes - IR data. (MAX=32bytes)
Ex.
If remote controller’s original IR code is 6FA652000040A000000000000001D9
Downlink: 490001
Uplink returns: 4A000001000F6FA652000040A000000000000001D9
0x4A= Cmd
0x0000= Actual IRIndex
0x01= Data Index number
0x00= Data Index
0x0F= Data len, means Data’s length have 15 bytes 0F (H
ex
) =15( D
ec
)
0x6FA652000040A000000000000001D9= Data (Each infrared device is difference.)
Bytes
1
2
Cmd=0x49
IR Index
Bytes
1
2
1
1
1
Var(Max=32)
Cmd=0x4A
Actual
IRIndex
Data Index
number
Data Index Data len
Data