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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user