Future Electronics
/
sequana-ble-lab-base
This is a basic code to be used for Sequana BLE Lab exercises.
Diff: source/SequanaPrimaryService.h
- Revision:
- 2:06e62a299a74
- Parent:
- 0:ff033dfc838b
--- a/source/SequanaPrimaryService.h Thu Mar 14 10:00:59 2019 +0000 +++ b/source/SequanaPrimaryService.h Thu Mar 14 13:25:02 2019 +0000 @@ -21,12 +21,12 @@ #include "UUID.h" #include "Sensor.h" #include "SensorCharacteristic.h" -#include "Kx64.h" +#include "Kmx65.h" namespace sequana { /* Instantiation of binary buffers for characteristics values */ -typedef CharBuffer<Kx64Value, 12> Kx64CharBuffer; +typedef CharBuffer<Kmx65Value, 12> Kmx65CharBuffer; @@ -39,16 +39,14 @@ public: /** Add Sequana Primary Service to an existing BLE object, initializing it with all characteristics. * @param ble Reference to the BLE device. - * @param accmag_sensor Reference to KX64 sensor. - * @param partmatter_sensor Reference to PSP30 sensor. - * @param combo_env_sensor Reference to combined parameters sensor. + * @param accmag_sensor Reference to KMX65 sensor. */ PrimaryService(BLE &ble, - Kx64Sensor &accmag_sensor ); + Kmx65Sensor &accmag_sensor ); protected: BLE &_ble; - SensorMultiCharacteristic<2, Kx64CharBuffer, Kx64Value> _accMagSensorMeasurement; + SensorMultiCharacteristic<2, Kmx65CharBuffer, Kmx65Value> _accMagSensorMeasurement; }; } //namespace