LivoxProto1: Add UdpCommandDemuxer.

We haven't genericized it with an unordered_map or integrated it
into device.cpp's async methods yet.
This commit is contained in:
2025-10-22 06:17:42 -04:00
parent 66a9db13c3
commit 10afec2532
7 changed files with 391 additions and 1 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ ProtoState& getProtoState()
}
DeviceManager::DeviceManager()
: broadcastListener(protoState.componentThread)
: broadcastListener(protoState.componentThread),
udpCommandDemuxer(protoState.componentThread, *this)
{
broadcastListener.setDeviceGoneAwayCb(deviceGoneAwayInd);
}