Microchip® Advanced Software Framework

multilink_multirole_app.h File Reference

Multilink-Multirole application.

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

Data Structures

struct  PACKED
 Blue-tooth Low Energy address Type. More...
 
struct  PACKED
 Blue-tooth Low Energy address Type. More...
 
struct  PACKED
 Blue-tooth Low Energy address Type. More...
 

Macros

#define EVENT_BUFFER_LENGTH   512
 
#define MAX_REMOTE_CENTRAL_DEVICE   1
 
#define MAX_REMOTE_DEVICE   2
 
#define MAX_REMOTE_PERIPHERAL_DEVICE   1
 
#define NUMBER_OF_SENSORS   2
 

Typedefs

typedef struct PACKED app_ble_remote_device_info_t
 
typedef struct PACKED sensor_char_t
 
typedef struct PACKED sensor_service_t
 

Enumerations

enum  {
  APP_DEVICE_ROLE_PERIPHERAL = 0x00,
  APP_DEVICE_ROLE_CENTRAL
}
 
enum  {
  APP_STATE_DISCOVERY_PENDING = 0x01,
  APP_STATE_READY
}
 

#define EVENT_BUFFER_LENGTH   512
#define MAX_REMOTE_CENTRAL_DEVICE   1

Referenced by app_connected_cb(), and main().

#define MAX_REMOTE_PERIPHERAL_DEVICE   1

Referenced by main().

#define NUMBER_OF_SENSORS   2

typedef struct PACKED sensor_char_t
typedef struct PACKED sensor_service_t

anonymous enum
Enumerator
APP_DEVICE_ROLE_PERIPHERAL 
APP_DEVICE_ROLE_CENTRAL 
anonymous enum
Enumerator
APP_STATE_DISCOVERY_PENDING 
APP_STATE_READY