Azure Kinect Sensor SDK
refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
|
|
related |
Get the Azure Kinect device serial number.
device_handle | Handle obtained by k4a_device_open(). |
serial_number | Location to write the serial number to. If the function returns K4A_BUFFER_RESULT_SUCCEEDED, this will be a NULL terminated string of ASCII characters. If this input is NULL serial_number_size will still be updated to return the size of the buffer needed to store the string. |
serial_number_size | On input, the size of the serial_number buffer if that pointer is not NULL. On output, this value is set to the actual number of bytes in the serial number (including the null terminator). |
serial_number
has been filled in. If the buffer is too small the function returns K4A_BUFFER_RESULT_TOO_SMALL and the size of the serial number is returned in the serial_number_size
parameter. All other failures return K4A_BUFFER_RESULT_FAILED.serial_number
to get the needed size in the serial_number_size
output, and then again with the allocated buffer.serial_number
.