Sets DPA Param. DPA Param (DPA Parameter) is a one-byte parameter stored in the [C] RAM that configures network behavior. Default value 0x00 is set upon [C] reset or restart.
Bit |
Description |
|
0-1 |
Specifies which type of DPA Value is returned in every DPA Request or DPA Confirmation message: |
|
00 |
lastRSSI: IQRF OS variable value (*). In the case of the [C] device, the value is 0 until some RF packet is received. |
|
01 |
voltage: Value returned by getSupplyVoltage IQRF OS function (*). |
|
10 |
system: |
|
bit 0: Equals bit DSMactivated. |
||
bits 1-6: Reserved |
||
bit 7: (*) |
||
11 |
user-specified DPA Value. See UserDpaValue. |
|
2-7 |
Reserved |
(*) The highest bit.7 indicates that the supply voltage is out of the recommended range. See Supply Voltage for more information about supply voltage values.
DPA Param is transparently sent with every DPA message from the [C] and thus, it controls the network behavior “on the fly”. It is not permanently stored at Nodes.
Request
NADR |
PNUM |
PCMD |
HWPID |
0 |
NADR |
0x00 |
0x08 |
? |
DpaParam |
DpaParam DPA Param to set.
Response
NADR |
PNUM |
PCMD |
HWPID |
ErrN |
DpaValue |
0 |
NADR |
0x00 |
0x88 |
? |
0 |
? |
DpaParam |
DpaParam Previous value