Atmel Software Framework

no_beacon/coord/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-2015 Atmel Corporation. All rights reserved.

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.

#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.

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

Defines the scan duration time.

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

This enum store the current state of the coordinator.

This enum store the current state of the coordinator.

Enumerator
COORD_STARTING 
COORD_RUNNING 
COORD_STARTING 
COORD_RUNNING