Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Over-Air Debug Queue. More...
#include "cascoda-bm/cascoda_types.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_INTERVALL 4 |
active state send interval [seconds] More... | |
#define | DEBUG_CHANNEL 26 |
15.4 channel for debug messages More... | |
Functions | |
void | APP_Debug_Send (struct ca821x_dev *pDeviceRef) |
Send Debug Frame. More... | |
int | APP_Debug_Sent (struct MCPS_DATA_confirm_pset *params, struct ca821x_dev *pDeviceRef) |
Debug Frame has been sent. More... | |
void | APP_Debug_Reset (void) |
Reset all APP Level Debug Codes. More... | |
void | APP_Debug_Error (u8_t code) |
Assign Error Code. More... | |
void | APP_Debug_SetAppState (u8_t state) |
Set Application Debug State. More... | |
Variables | |
u8_t | Debug_App_State |
Debug_App_State Conventions: 0x00: reset after sending Debug packet or not in Application Mode 0xA*: Coordinator Pairing States 0xB*: Device Pairing States 0xC*: Coordinator Data Transfer States 0xD*: Device Data Transfer States . More... | |
u8_t | Debug_App_Error |
u8_t | Debug_Sent |
Over-Air Debug Queue.
#define DEBUG_CHANNEL 26 |
15.4 channel for debug messages
#define DEBUG_INTERVALL 4 |
active state send interval [seconds]
void APP_Debug_Error | ( | u8_t | code | ) |
Assign Error Code.
code | - debug code |
void APP_Debug_Reset | ( | void | ) |
Reset all APP Level Debug Codes.
void APP_Debug_Send | ( | struct ca821x_dev * | pDeviceRef | ) |
Send Debug Frame.
int APP_Debug_Sent | ( | struct MCPS_DATA_confirm_pset * | params, |
struct ca821x_dev * | pDeviceRef | ||
) |
Debug Frame has been sent.
void APP_Debug_SetAppState | ( | u8_t | state | ) |
Set Application Debug State.
state- | debug state |
|
extern |
|
extern |
Debug_App_State Conventions:
0x00: reset after sending Debug packet or not in Application Mode
0xA*: Coordinator Pairing States
0xB*: Device Pairing States
0xC*: Coordinator Data Transfer States
0xD*: Device Data Transfer States
.
|
extern |