mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
implement optional device status updates
This commit is contained in:
parent
35cdfa5922
commit
9b38a1fc3d
8 changed files with 49 additions and 16 deletions
|
|
@ -123,6 +123,8 @@ uint16_t Protocol::EncodePacket(const PacketInfo &packet, uint8_t *dest, uint16_
|
|||
case PacketType::RequestDeviceStatus:
|
||||
case PacketType::SetTrigger:
|
||||
case PacketType::ClearTrigger:
|
||||
case PacketType::StopStatusUpdates:
|
||||
case PacketType::StartStatusUpdates:
|
||||
// no payload
|
||||
break;
|
||||
case PacketType::VNADatapoint: payload_size = packet.VNAdatapoint->requiredBufferSize(); break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue