Application running on nRF51822 PCA10001
Dependencies: BLE_API MMA8652 nRF51822 mbed-src
BuddiService.h
- Committer:
- rosterloh84
- Date:
- 2014-10-14
- Revision:
- 6:2fb6cf3c9047
- Parent:
- 4:630f1560a0f3
File content as of revision 6:2fb6cf3c9047:
#ifndef _H_BUDDISERVICE_H #define _H_BUDDISERVICE_H #include "BLEDevice.h" #include "GattCharacteristicWriteCBParams.h" namespace Nudge { void init(BLEDevice &ble); void setLEDValue(uint8_t led, uint8_t value); void handleDataWritten(uint16_t handle, const GattCharacteristicWriteCBParams *params); 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