Livox-SDK/Livox-SDK2

how to use HAP control command

NHMMing opened this issue · 2 comments

hi, @Livox-Infra I want to get HAP lidar sn code. And I saw “3.1 control command” are related to this question in Livox SDK2 protocol . However, I do not know how to use control command by Livox SDK2. I just use PC to connect lidar by internet. Could you give me some ways to fix this problem?

Also, @Livox-Infra I want to obtain the SN number to distinguish between multiple HAP lidar data in the same LAN, and then save the data of each radar separately. This is done with only the Livox SDK2. However, using handles to distinguish if is easier than sn signs.I saw that there was "uint32_t handle" in the callback function parameter table of the point cloud "void PointCloudCallback(uint32_t handle, const uint8_t dev_type, LivoxLidarEthernetPacket *data, void *client_data)". If I use handle to distinguish HAP lidar data, what I need to do

“handle” works done.