Microchip® Advanced Software Framework

multilink_central_app.h File Reference

Multilink central application.

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

Data Structures

struct  acc_sensor_value_t_
 
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 ACCE_GYRO_SENSOR_SERVICE_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xc1, 0xba, 0x5a, 0xf0
 
#define ACCE_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xd7, 0xba, 0x5a, 0xf0
 
#define EVENT_BUFFER_LENGTH   512
 
#define GYRO_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xd4, 0xba, 0x5a, 0xf0
 
#define MAX_REMOTE_CENTRAL_DEVICE   0
 
#define MAX_REMOTE_DEVICE   4
 
#define MAX_REMOTE_PERIPHERAL_DEVICE   4
 
#define NUMBER_OF_SENSORS   2
 

Typedefs

typedef struct acc_sensor_value_t_ acc_sensor_value_t
 
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
}
 
enum  sensor_list_t {
  SENSOR_1_ACCELEROMETER,
  SENSOR_2_GYROSCOPE,
  SENSOR_1_ACCELEROMETER,
  SENSOR_2_GYROSCOPE,
  SENSOR_1_ACCELEROMETER,
  SENSOR_2_GYROSCOPE
}
 

#define ACCE_GYRO_SENSOR_SERVICE_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xc1, 0xba, 0x5a, 0xf0
#define ACCE_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xd7, 0xba, 0x5a, 0xf0
#define EVENT_BUFFER_LENGTH   512
#define GYRO_UUID   0x1b, 0xc5, 0xd5, 0xa5, 0x02, 0x00, 0xa6, 0x87, 0xe5, 0x11, 0x36, 0x39, 0xd4, 0xba, 0x5a, 0xf0
#define MAX_REMOTE_CENTRAL_DEVICE   0
#define MAX_REMOTE_DEVICE   4
#define MAX_REMOTE_PERIPHERAL_DEVICE   4
#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 
Enumerator
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE 
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE 
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE