deviceinfo_get_identifying_data()

Get the device identifying information.

Synopsis:

#include <bps/deviceinfo.h>
 
BPS_API int deviceinfo_get_identifying_data(deviceinfo_identifying_data_t *data)

Arguments:

data
This will be populated with the device identifying information. The caller must call deviceinfo_free_identifying_data() when done with this structure.

Library:

libbps

Description:

Deprecated:

Use deviceinfo_get_identifying_details()

The deviceinfo_get_identifying_data() function gets the device identifying information. This function requires the application to have the read_device_identifying_information capability.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.