pd_alloc_peripheral_list()

Allocates memory for a list of peripherals.

Synopsis:

#include <peripheral_discovery.h>
 
pd_peripheral_list_t* pd_alloc_peripheral_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_peripheral_list() when finished.

Returns:

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