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 | BEACON_PAYLOAD_LEN (17 + 1 + 1) |
Defines the length of the beacon payload delivered to the devices. More... | |
#define | COORD_SHORT_ADDR (0x0000) |
Defines the short address of the coordinator. More... | |
#define | DEFAULT_PAN_ID CCPU_ENDIAN_TO_LE16(0x1111) |
#define | MAX_NUMBER_OF_DEVICES (100) |
Defines the maximum number of devices this coordinator will handle. More... | |
#define | SCAN_CHANNEL(x) (1ul << x) |
#define | SCAN_DURATION_COORDINATOR (5) |
Defines the scan duration time. More... | |
Typedefs | |
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... | |
typedef enum coord_state_tag | coord_state_t |
This enum store the current state of the coordinator. More... | |
Enumerations | |
enum | coord_state_tag { COORD_STARTING = 0, COORD_RUNNING, COORD_STARTING = 0, COORD_RUNNING } |
This enum store the current state of the coordinator. More... | |
#define BEACON_PAYLOAD_LEN (17 + 1 + 1) |
Defines the length of the beacon payload delivered to the devices.
This is the text "Atmel beacon demo" + one space + one uin8t_t variable.
Referenced by bcn_payload_update_cb(), and usr_mlme_set_conf().
#define COORD_SHORT_ADDR (0x0000) |
Defines the short address of the coordinator.
#define DEFAULT_PAN_ID CCPU_ENDIAN_TO_LE16(0x1111) |
#define MAX_NUMBER_OF_DEVICES (100) |
Defines the maximum number of devices this coordinator will handle.
Referenced by assign_new_short_addr().
#define SCAN_CHANNEL | ( | x | ) | (1ul << x) |
Referenced by usr_mlme_set_conf().
#define SCAN_DURATION_COORDINATOR (5) |
Defines the scan duration time.
Referenced by usr_mlme_set_conf().
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.
typedef enum coord_state_tag coord_state_t |
This enum store the current state of the coordinator.
enum coord_state_tag |