Wirepas SDK
multicast.h
Go to the documentation of this file.
1/* Copyright 2018 Wirepas Ltd. All Rights Reserved.
2 *
3 * See file LICENSE.txt for full license details.
4 *
5 */
6#ifndef _MULTICAST_H_
7#define _MULTICAST_H_
8
9#include "api.h"
10
11// Amount of multicast addresses supported. Must fit to storage.
12#define MULTICAST_ADDRESS_AMOUNT 10
13
14// Definition for multicast address
15typedef struct __attribute__ ((__packed__))
16{
17 uint8_t addr[3]; // LSB first
19
27
34app_res_e Multicast_setGroups(const uint8_t * groups);
35
44
45#endif /* SOURCE_DUALMCU_APP_WAPS_SAP_MULTICAST_H_ */
bool Multicast_isGroupCb(app_addr_t group_addr)
Callback for querying group callback.
app_res_e Multicast_getGroups(uint8_t *groups)
Get multicast groups.
app_res_e Multicast_setGroups(const uint8_t *groups)
Set multicast groups.
app_res_e
Definition wms_app.h:202
uint32_t app_addr_t
Definition wms_app.h:228