Command Publisher module takes care of publishing incoming packages. More...
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | ZAF_CP_HEADER_SIZE 4 |
#define | ZAF_CP_ELEMENT_SIZE 16 |
#define | ZAF_CP_STORAGE_SIZE(num_elements) (ZAF_CP_HEADER_SIZE + (num_elements) * ZAF_CP_ELEMENT_SIZE) |
#define | ZAF_CP_STORAGE(name, num_elements) union { void *align; uint8_t storage[ZAF_CP_STORAGE_SIZE(num_elements)]; } name |
Typedefs | |
typedef void * | CP_Handle_t |
typedef void(* | zaf_cp_subscriberFunction_t) (void *pSubscriberContext, void *pRxPackage) |
Functions | |
CP_Handle_t | ZAF_CP_Init (void *pStorage, uint8_t numSubscribers) |
bool | ZAF_CP_SubscribeToAll (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction) |
bool | ZAF_CP_SubscribeToCC (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction, uint16_t CmdClass) |
bool | ZAF_CP_SubscribeToCmd (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction, uint16_t CmdClass, uint8_t Cmd) |
bool | ZAF_CP_UnsubscribeToAll (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction) |
bool | ZAF_CP_UnsubscribeToCC (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction, uint16_t CmdClass) |
bool | ZAF_CP_UnsubscribeToCmd (CP_Handle_t handle, void *pSubscriberContext, zaf_cp_subscriberFunction_t pFunction, uint16_t CmdClass, uint8_t Cmd) |
void | ZAF_CP_CommandPublish (CP_Handle_t handle, void *pRxPackage) |
Command Publisher module takes care of publishing incoming packages.
This module is part of Security Discovery feature