Maxim Integrated's IoT development kit
Dependencies: MAX30101 MAX30003 MAX113XX_Pixi MAX30205 max32630fthr USBDevice
Diff: max30101_app.h
- Revision:
- 13:fba77a5d0fa0
- Child:
- 15:0d47d5879a21
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/max30101_app.h Thu Jun 28 15:47:24 2018 +0300
@@ -0,0 +1,25 @@
+/*
+ * max30101_app.h
+ *
+ * Created on: Jun 20, 2018
+ * Author: Mahir.Ozturk
+ */
+
+#ifndef MAX30101_APP_H_
+#define MAX30101_APP_H_
+
+#include "ble_comm.h"
+
+struct max30101_reader_task_args {
+ Thread *self;
+ I2C &i2cBus;
+ PinName pinIntr;
+ PinName pinVLED;
+ GattAttribute::Handle_t gattHeartRate;
+ GattAttribute::Handle_t gattSPO2;
+ int notify_period_sec;
+};
+
+void max30101_reader_task(struct max30101_reader_task_args *args);
+
+#endif /* MAX30101_APP_H_ */