Wirepas SDK
multicast.h File Reference

Go to the source code of this file.

Functions

bool Multicast_isGroupCb (app_addr_t group_addr)
 Callback for querying group callback. More...
 
app_res_e Multicast_setGroups (const uint8_t *groups)
 Set multicast groups. More...
 
app_res_e Multicast_getGroups (uint8_t *groups)
 Get multicast groups. More...
 

Data Structures

struct  multicast_group_addr_t
 

Macros

#define MULTICAST_ADDRESS_AMOUNT   10
 

Function Documentation

◆ Multicast_getGroups()

app_res_e Multicast_getGroups ( uint8_t *  groups)

Get multicast groups.

Parameters
groupsOut: Pointer to the groups (non-aligned pointer). Note, value 0 is used for replacement value of 0xffffffff (factory reset)
Returns
Result of the operation

◆ Multicast_isGroupCb()

bool Multicast_isGroupCb ( app_addr_t  group_addr)

Callback for querying group callback.

Parameters
group_addrAddress of the group
Returns
true: Is part of this group, false: Is not part of this group

◆ Multicast_setGroups()

app_res_e Multicast_setGroups ( const uint8_t *  groups)

Set multicast groups.

Parameters
groupsPointer to the groups (non-aligned pointer)
Returns
Result of the operation

Data Structure Documentation

◆ multicast_group_addr_t

struct multicast_group_addr_t

Definition at line 15 of file multicast.h.

Data Fields
uint8_t addr[3]

Macro Definition Documentation

◆ MULTICAST_ADDRESS_AMOUNT

#define MULTICAST_ADDRESS_AMOUNT   10

Definition at line 12 of file multicast.h.