Difference between revisions of "Firmware-810 Command-018"
(Copied from Firmware-800 Command-018, revision 3125) |
(→DUMP FUNCTION (18, 12h)) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
==DUMP FUNCTION (18, 12h)== | ==DUMP FUNCTION (18, 12h)== | ||
− | The DUMP FUNCTION command can be used to retrieve the function settings data for a port, whether configured for an analog sensor or a digital (I2C) sensor. The command can be used in both host and stand-alone modes of operation. In host mode it retrieves the function number from volatile memory and the other function settings from non-volatile memory. In stand-alone mode it retrieves all function settings from non-volatile memory. Upon completion of the DUMP FUNCTION command the WiDig sends out the same message as the [[Firmware- | + | The DUMP FUNCTION command can be used to retrieve the function settings data for a port, whether configured for an analog sensor or a digital (I2C) sensor. The command can be used in both host and stand-alone modes of operation. In host mode it retrieves the function number from volatile memory and the other function settings from non-volatile memory. In stand-alone mode it retrieves all function settings from non-volatile memory. Upon completion of the DUMP FUNCTION command the WiDig sends out the same message as the [[Firmware-810_Command-008 |FUNCTION command]] but with DUMP FUNCTION as the command byte. |
The [BODY] of the DUMP FUNCTION command contains a single 7-bit byte: | The [BODY] of the DUMP FUNCTION command contains a single 7-bit byte: |
Latest revision as of 03:22, 3 February 2019
DUMP FUNCTION (18, 12h)
The DUMP FUNCTION command can be used to retrieve the function settings data for a port, whether configured for an analog sensor or a digital (I2C) sensor. The command can be used in both host and stand-alone modes of operation. In host mode it retrieves the function number from volatile memory and the other function settings from non-volatile memory. In stand-alone mode it retrieves all function settings from non-volatile memory. Upon completion of the DUMP FUNCTION command the WiDig sends out the same message as the FUNCTION command but with DUMP FUNCTION as the command byte.
The [BODY] of the DUMP FUNCTION command contains a single 7-bit byte:
0000xyyy: | x = 1; apply the command to all ports (yyy is ignored), ie. send 8 messages with the function settings for each port |
yyy = [0..7]; port number, where the first port number = 0 and the last (8th) input number = 7 |
Example:
- 240, 125, 0 {DEV}, 18 {DUMP FUNCTION}, 2 {port}, 247 (F0h, 7Dh, 00h, 12h, 02h, F7h)