Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cascoda-bm/cascoda_aerial_adapter.h"
#include "cascoda-bm/cascoda_evbme.h"
#include "cascoda-bm/cascoda_interface.h"
#include "cascoda-bm/cascoda_sensorif.h"
#include "cascoda-bm/cascoda_serial.h"
#include "cascoda-bm/cascoda_spi.h"
#include "cascoda-bm/cascoda_types.h"
#include "cascoda-bm/cascoda_wait.h"
#include "cascoda-util/cascoda_tasklet.h"
#include "cascoda-util/cascoda_time.h"
#include "ca821x_api.h"
#include "devboard_btn.h"
Macros | |
#define | TXINDIRECT_PERIOD 10 |
#define | MSDULENGTH 97 |
#define | ENABLE_SECURITY 1 |
#define | AIR_CHANNEL 15 |
#define | MAC_CHANNEL 13 |
#define | MAC_PANID 0xCA5C |
#define | MAC_LONGADD_ROUTER |
#define | MAC_SHORTADD_ROUTER 0xCA01 |
#define | MAC_LONGADD_SED |
#define | MAC_SHORTADD_SED 0xCA02 |
Typedefs | |
typedef int(* | printf_function) (const char *format,...) |
Functions | |
int | main (void) |
Main Program Endless Loop. More... | |
Variables | |
uint8_t | sMacSecurityEnabled = 1 |
uint8_t | sMacKeyTableEntries = 2 |
uint8_t | sMacKeyTable0 [52] |
uint8_t | sMacKeyTable1 [52] |
uint8_t | sMacDeviceTableEntries = 2 |
uint8_t | sMacDeviceTable0 [17] |
uint8_t | sMacDeviceTable1 [17] |
uint8_t | sMacDefaultKeySource [8] = {0xCA, 0x5C, 0x0D, 0xA0, 0x00, 0x00, 0x00, 0x01} |
printf_function | xprintf |
struct ca821x_dev | g_deviceref |
#define AIR_CHANNEL 15 |
#define ENABLE_SECURITY 1 |
#define MAC_CHANNEL 13 |
#define MAC_LONGADD_ROUTER |
#define MAC_LONGADD_SED |
#define MAC_PANID 0xCA5C |
#define MAC_SHORTADD_ROUTER 0xCA01 |
#define MAC_SHORTADD_SED 0xCA02 |
#define MSDULENGTH 97 |
#define TXINDIRECT_PERIOD 10 |
typedef int(* printf_function) (const char *format,...) |
int main | ( | void | ) |
Main Program Endless Loop.
struct ca821x_dev g_deviceref |
uint8_t sMacDefaultKeySource[8] = {0xCA, 0x5C, 0x0D, 0xA0, 0x00, 0x00, 0x00, 0x01} |
uint8_t sMacDeviceTable0[17] |
uint8_t sMacDeviceTable1[17] |
uint8_t sMacDeviceTableEntries = 2 |
uint8_t sMacKeyTable0[52] |
uint8_t sMacKeyTable1[52] |
uint8_t sMacKeyTableEntries = 2 |
uint8_t sMacSecurityEnabled = 1 |
printf_function xprintf |