Get serial number in AstraSDK

Hi,

I’m trying to get the device serial number through AstraSDK but can only find examples using OpenNI, is it possible to do this within the SDK?

Thanks

Yes, the DepthStream class has a function serial_number to do this. See samples/cpp-api/DepthReaderEventCPP/main.cpp from the SDK for an example.