linq_network_device_count

Synopsis

uint32_t linq_network_device_count(const linq_network_s*);

Return the number of devices connected to your LinQ Network context.

Parameters

Parameter Description
linq_network_s* Main context of the LinQ Network Library passed to all linq_network routines.

Examples

Example printing number of devices connected to the terminal.

linq_network* netw = linq_network_create(NULL, NULL);
assert(netw);

printf("There are %d devices connected to LinQ Network\n", linq_network_device_count(netw);