Microchip® Advanced Software Framework

acc_gyro_sensor_service.c File Reference

Accelerometer Gyroscope sensor service functionalities.

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

#include "platform_files.h"
#include "bm_mode.h"
#include "bm_application_mode.h"
#include "bm_utils.h"
#include "event_mem.h"
#include "ble_api.h"
#include "ble_manager.h"
#include "bno055_port.h"
#include "bno055.h"
#include "acc_gyro_sensor_service.h"

Functions

ble_service_tacc_gyro_sensor_service_init (acc_sensor_t *acc_sensor_char, gyro_sensor_t *gyro_sensor_char)
 
ble_status_t acce_sensor_data_send (acc_sensor_t *acce_data, uint8_t conn_handle)
 
ble_status_t gyro_sensor_data_send (gyro_sensor_t *gyro_data, uint8_t conn_handle)
 

Variables

ble_char_t sensor_char [2] = {0}
 
ble_service_t sensor_service = {0}
 

ble_char_t sensor_char[2] = {0}