Microchip® Advanced Software Framework

beacon_app.h File Reference

These are application-specific resources which are used in the example application of the coordinator in addition to the underlaying stack.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

Data Structures

struct  associated_device_tag
 This type definition of a structure can store the short address and the extended address of a device. More...
 

Macros

#define COORD_SHORT_ADDR   (0x0000)
 Defines the short address of the coordinator. More...
 
#define DEFAULT_PAN_ID   CCPU_ENDIAN_TO_LE16(0x1111)
 
#define SCAN_CHANNEL(x)   (1ul << x)
 

Typedefs

typedef enum app_state_tag app_state_t
 This enum stores the current state of the application. More...
 
typedef struct
associated_device_tag 
associated_device_t
 This type definition of a structure can store the short address and the extended address of a device. More...
 

Enumerations

enum  app_state_tag {
  APP_IDLE = 0,
  APP_SCAN_DONE,
  APP_ASSOC_IN_PROGRESS,
  APP_DEVICE_RUNNING
}
 This enum stores the current state of the application. More...
 

#define COORD_SHORT_ADDR   (0x0000)

Defines the short address of the coordinator.

#define DEFAULT_PAN_ID   CCPU_ENDIAN_TO_LE16(0x1111)

Referenced by usr_mlme_scan_conf().

#define SCAN_CHANNEL (   x)    (1ul << x)

typedef enum app_state_tag app_state_t

This enum stores the current state of the application.

This type definition of a structure can store the short address and the extended address of a device.

This enum stores the current state of the application.

Enumerator
APP_IDLE 
APP_SCAN_DONE 
APP_ASSOC_IN_PROGRESS 
APP_DEVICE_RUNNING