Application running on nRF51822 PCA10001

Dependencies:   BLE_API MMA8652 nRF51822 mbed-src

Revision:
3:596283411a00
Child:
4:630f1560a0f3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BuddiService.h	Fri Aug 29 12:36:01 2014 +0000
@@ -0,0 +1,23 @@
+#ifndef _H_BUDDISERVICE_H
+#define _H_BUDDISERVICE_H
+
+#include "BLEDevice.h"
+
+namespace Nudge {
+    void init(BLEDevice &ble);
+    void setLEDValue(uint8_t led, uint8_t value);
+    void handleDataWritten(uint16_t handle);
+    const uint8_t* getServiceUUIDp();
+}
+
+#define MODULE_SWITCH         0x01
+#define MODULE_LED            0x02
+#define MODULE_ACCELEROMETER  0x03
+#define MODULE_TEMPERATURE    0x04
+#define MODULE_GPIO           0x05
+#define MODULE_NEO_PIXEL      0x06
+#define MODULE_IBEACON        0x07
+#define MODULE_HAPTIC         0x08
+#define MODULE_DEBUG          0xFE
+
+#endif //_H_BUDDISERVICE_H
\ No newline at end of file