Microchip® Advanced Software Framework

enddevice_demo.h File Reference

LORAWAN Demo Application.

Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries.

Macros

#define LORAWAN_NW_JOINED   0x01
 Macro to check the LoRaWAN stack status attribute network joined bit. More...
 

Typedefs

typedef enum _AppTaskIds_t AppTaskIds_t
 
typedef enum _AppTaskState_t AppTaskState_t
 

Enumerations

enum  _AppTaskIds_t {
  DISPLAY_TASK_HANDLER,
  PROCESS_TASK_HANDLER,
  APP_TASKS_COUNT
}
 
enum  _AppTaskState_t {
  RESTORE_BAND_STATE,
  DEMO_CERT_APP_STATE,
  DEMO_APP_STATE,
  JOIN_SEND_STATE
}
 

Functions

void check_stack_status (void)
 
void demo_appdata_callback (void *appHandle, appCbParams_t *data)
 Callback function for the ending of Bidirectional communication of Application data. More...
 
void demo_joindata_callback (StackRetStatus_t status)
 
void dev_eui_read (void)
 Reads the MAC EUI from the EDBG Controller of the XPro Board. More...
 
void mote_demo_init (void)
 Function to Initialize the Demo application. More...
 
StackRetStatus_t mote_set_parameters (IsmBand_t ismBand, const uint16_t index)
 
void print_application_config (void)
 
void print_array (uint8_t *data, uint8_t length)
 
void print_default_parameters (void)
 
void print_stack_status (StackRetStatus_t status)
 
void serial_data_handler (void)
 Pulls the data from UART when activated. More...
 
StackRetStatus_t set_device_type (EdClass_t ed_class)
 
StackRetStatus_t set_join_parameters (ActivationType_t activation_type)
 
void set_multicast_params (void)
 

#define LORAWAN_NW_JOINED   0x01

Macro to check the LoRaWAN stack status attribute network joined bit.

Referenced by processRunRestoreBand().

Enumerator
DISPLAY_TASK_HANDLER 
PROCESS_TASK_HANDLER 
APP_TASKS_COUNT 
Enumerator
RESTORE_BAND_STATE 
DEMO_CERT_APP_STATE 
DEMO_APP_STATE 
JOIN_SEND_STATE 

void check_stack_status ( void  )
void dev_eui_read ( void  )

Reads the MAC EUI from the EDBG Controller of the XPro Board.

References demoDevEui, edbg_eui_read_eui64(), i, and j.

void print_array ( uint8_t *  data,
uint8_t  length 
)
void print_default_parameters ( void  )