deviceinfo_get_data()

Get the current device information.

Synopsis:

#include <bps/deviceinfo.h>
 
BPS_API int deviceinfo_get_data(deviceinfo_data_t *data)

Arguments:

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

Library:

libbps

Description:

Deprecated:

Use deviceinfo_get_details()

The deviceinfo_get_data() function gets the current device information.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.