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
+6
View File
@@ -140,6 +140,12 @@ public:
std::atomic<bool> pcloudDataActive;
int pcloudDataFd; // Socket file descriptor for point cloud data reception
public:
// UDP datagram handling
void handleUdpDgram(
const uint8_t* data, ssize_t bytesReceived,
const struct sockaddr_in& senderAddr);
private:
// Point cloud data setup
bool setupPcloudDataSocket();