Microchip® Advanced Software Framework

central_app.h File Reference

GAP-Central application.

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

Data Structures

struct  acc_sensor_value_t_
 
struct  app_ble_remote_device_info_t
 
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 NUMBER_OF_SENSORS   2
 

Typedefs

typedef struct acc_sensor_value_t_ acc_sensor_value_t
 
typedef struct PACKED sensor_char_t
 
typedef struct PACKED sensor_service_t
 

Enumerations

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 NUMBER_OF_SENSORS   2

typedef struct PACKED sensor_char_t
typedef struct PACKED sensor_service_t

Enumerator
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE 
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE 
SENSOR_1_ACCELEROMETER 
SENSOR_2_GYROSCOPE