Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
tempsense_debug.h File Reference

Over-Air Debug Queue. More...

Include dependency graph for tempsense_debug.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Over-Air Debug Queue.

Macro Definition Documentation

◆ DEBUG_CHANNEL

#define DEBUG_CHANNEL   26

15.4 channel for debug messages

◆ DEBUG_INTERVALL

#define DEBUG_INTERVALL   4

active state send interval [seconds]

Function Documentation

◆ APP_Debug_Error()

void APP_Debug_Error ( u8_t  code)

Assign Error Code.

Parameters
code- debug code

◆ APP_Debug_Reset()

void APP_Debug_Reset ( void  )

Reset all APP Level Debug Codes.

◆ APP_Debug_Send()

void APP_Debug_Send ( struct ca821x_dev pDeviceRef)

Send Debug Frame.

◆ APP_Debug_Sent()

int APP_Debug_Sent ( struct MCPS_DATA_confirm_pset params,
struct ca821x_dev pDeviceRef 
)

Debug Frame has been sent.

◆ APP_Debug_SetAppState()

void APP_Debug_SetAppState ( u8_t  state)

Set Application Debug State.

Parameters
state-debug state

Variable Documentation

◆ Debug_App_Error

u8_t Debug_App_Error
extern

◆ Debug_App_State

u8_t Debug_App_State
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
.

◆ Debug_Sent

u8_t Debug_Sent
extern