Difference between revisions of "Firmware-811 Command-011"
(Copied from Firmware-810 Command-011, revision 3991) |
|||
Line 1: | Line 1: | ||
==DUMP STREAM (11, 0Bh)== | ==DUMP STREAM (11, 0Bh)== | ||
− | The DUMP STREAM command can be used to retrieve the sampling activation status of 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. Upon completion of the DUMP STREAM command the WiDig sends out the same message as the [[Firmware- | + | The DUMP STREAM command can be used to retrieve the sampling activation status of 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. Upon completion of the DUMP STREAM command the WiDig sends out the same message as the [[Firmware-811 Command-001 |STREAM command]]. |
The [BODY] of the STREAM command consists of a single 7-bit byte with the following format : | The [BODY] of the STREAM command consists of a single 7-bit byte with the following format : |
Latest revision as of 16:14, 16 April 2019
DUMP STREAM (11, 0Bh)
The DUMP STREAM command can be used to retrieve the sampling activation status of 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. Upon completion of the DUMP STREAM command the WiDig sends out the same message as the STREAM command.
The [BODY] of the STREAM command consists of a single 7-bit byte with the following format :
0000xyyy: | x = 1; apply the command to all ports (yyy is ignored), ie. send 8 messages with the status for each port |
yyy = [0..7]; port number, where the first port number = 0, and the last (8th) port number = 7 |
Example:
In order to retrieve the activation status of port 2 the following message is sent:
- 240, 125, 0 {DEV}, 11 {DUMP STREAM}, 2, 247 (F0h, 7Dh, 00h, 0Bh, 02h, F7h)