pd_alloc_property_list()

Allocate memory for the list of properties of a peripheral.

Synopsis:

#include <peripheral_discovery.h>
 
pd_peripheral_properties_t* pd_alloc_property_list(void)

Since:

BlackBerry 10.2.0

Arguments:

Library:

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

Description:

The list must be freed by pd_free_property_list() when finished.

Returns:

A pointer to a property list. Will be NULL on error.