pd_get_peripheral_properties()

Retrieve the properties of a peripheral.

Synopsis:

#include <peripheral_discovery.h>
 
int pd_get_peripheral_properties(pd_peripheral_t *peripheral, pd_peripheral_properties_t *properties)

Since:

BlackBerry 10.2.0

Arguments:

peripheral

The peripheral from pd_get_next_peripheral() or pd_get_event().

properties

The list of properties from pd_alloc_property_list().

Library:

libperipheral_discovery (For the qcc command, use the -l peripheral_discovery option to link against this library)

Description:

Note: You can call this function multiple times without allocating another list.

Returns:

EOK on success.