Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Loading...
Searching...
No Matches
ca821x_api_secure.c File Reference
#include <errno.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "ca821x_api.h"
#include "ca821x_blacklist.h"
#include "ca821x_log.h"
#include "mac_messages.h"
Include dependency graph for ca821x_api_secure.c:

Macros

#define __NONSECURE_ENTRY
#define __NONSECURE_ENTRY_WEAK   __attribute__((weak))
#define __NONSECURE_CALL

Functions

__NONSECURE_ENTRY ca_error ca821x_upstream_dispatch (struct MAC_Message *msg, struct ca821x_dev *pDeviceRef)
 Call the relevant callback routine if populated or the generic_dispatch for a received command.
__NONSECURE_ENTRY ca_error BLACKLIST_Add (struct MacAddr *pAddress, struct ca821x_dev *pDeviceRef)
 Add an address to the blacklist.
__NONSECURE_ENTRY void BLACKLIST_Clear (struct ca821x_dev *pDeviceRef)
 Clear the entire blacklist.

Macro Definition Documentation

◆ __NONSECURE_CALL

#define __NONSECURE_CALL

◆ __NONSECURE_ENTRY

#define __NONSECURE_ENTRY

◆ __NONSECURE_ENTRY_WEAK

#define __NONSECURE_ENTRY_WEAK   __attribute__((weak))