Description

The InterfaceState command is used to change Neblina's interface streaming capabilities. By default, Neblina will respond to a command only on the same interface it was sent, regardless of the state of the interface. On the other hand, Neblina streaming packets are sent to all enabled interfaces. If all interfaces are disabled, Neblina will not stream any packets.

Protocol

This command uses the Command-Ack protocol.

Command

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x40 ( 0b010 / 0b00000 )
1 Payload Length uint8_t 2
2 CRC uint8_t Calculated
3 Command uint8_t 0x09

Payload

Byte Name C Type Value
4 Identifier uint8_t Varies
5 State uint8_t 0x00 (Disable) or 0x01 (Enable)