pd_get_next_property()

Retrieve the next property from a list of properties.

Synopsis:

#include <peripheral_discovery.h>
 
int pd_get_next_property(pd_peripheral_properties_t *properties, pd_peripheral_property_t **property)

Since:

BlackBerry 10.2.0

Arguments:

properties

The list of properties created by pd_alloc_property_list() and populated by pd_get_peripheral_properties().

property

The property to pass to pd_get_property_as_string() or pd_get_property_as_integer().

Library:

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

Description:

Returns:

EOK on success, -1 if there's no more properties.