Retrieve the properties of a peripheral.
#include <peripheral_discovery.h>
int pd_get_peripheral_properties(pd_peripheral_t *peripheral, pd_peripheral_properties_t *properties)
BlackBerry 10.2.0
The peripheral from pd_get_next_peripheral() or pd_get_event().
The list of properties from pd_alloc_property_list().
Note: You can call this function multiple times without allocating another list.
EOK on success.