Page
26
of
29
©
2019 Radiocrafts AS
RC1180-MPC1/RC1701HP-MPC1 User Manual (rev. 1.1)
RC1180-MPC1
USER MANUAL RC1701HP-MPC1
Example 8
– Example message – Configuration setting message (OTA123, step 2)
Example
You want to update this configuration parameter:
•
RF_POWER. Address: 0x01. New value: 0x01 (minimum)
Slave Address: 48 24 12 34 56 78 01 00
Master Address: 48 24 AB CD EF AB 01 00
From the incoming configuration dump message (OTA123, step 1) you read that
the value at address 0x00 was 0x03.
The message from master must then look like this:
L C
LL_HEADER
APP DATA - LONG TPL_HEAD
M
_M
ID
M
_M
ID
M
_UID
M
_UID
M
_UID
M
_UID
M_
VE
R
M_
D
EV
CI
S_
UID
S_
UID
S_
UID
S_
UID
S_
M
ID
S_
M
ID
S_
VE
R
S_
D
EV
AN
SB
CW
CW
D
A
TA
D
A
TA
Field
Hex
Comment/Note
L
0x18
Length. 24 bytes.
C
0x44
SND-NR
M_MID
0x24 0x48
Master Manufacturer ID. MSB first
M_UID
0xAB 0xEF 0xCD 0xAB
Master Unique ID. MSB first
M_VER
0x01
Master Version
M_DEV
0x00
Other
CI
0xAB
CI field for the Application Layer.
Long header.
S_UID
0x78 0x56 0x34 0x12
Slave Unique ID. MSB first
S_MID
0x24 0x48
Slave Manufacturer ID. MSB first
S_VER
0x01
Slave Version
S_DEV
0x00
Slave General device
AN
0x01
Access Number
SB
0x00
Status Byte
CW
0x00 0x00
Configuration Word
DATA
0x03
Old (unchanged) value for Address 0x00
DATA
0x01
New Value for Address 0x01
You only need to send the configuration values up until the last byte you change.
Bonus:
If your master is an RC11xx-MBUS3/17xx(HP)-MBUS4 you can achieve this by:
•
Setting C-field to 0x44 (remember to exit config mode afterwards)
•
Sending the following message to the master UART:
0x0F 0xAB 0x78 0x56 0x34 0x12 0x24 0x48 0x01 0x00 0x01
0x00 0x00 0x00 0x03 0x01
•
C-field and Master address will then be inserted by module before sending,
and L-field will be adjusted, resulting in the above message.