This is a basic code to be used for Sequana BLE Lab exercises.

Embed: (wiki syntax)

« Back to documentation index

PrimaryService Class Reference

PrimaryService Class Reference

Sequana BLE Primary Service. More...

#include <SequanaPrimaryService.h>

Public Member Functions

 PrimaryService (BLE &ble, Kmx65Sensor &accmag_sensor)
 Add Sequana Primary Service to an existing BLE object, initializing it with all characteristics.

Detailed Description

Sequana BLE Primary Service.

This service provides data obtained from Sequana and Sequana Environmental Shield sensors.

Definition at line 35 of file SequanaPrimaryService.h.


Constructor & Destructor Documentation

PrimaryService ( BLE &  ble,
Kmx65Sensor accmag_sensor 
)

Add Sequana Primary Service to an existing BLE object, initializing it with all characteristics.

Parameters:
bleReference to the BLE device.
accmag_sensorReference to KMX65 sensor.

Definition at line 43 of file SequanaPrimaryService.cpp.