Rotate the Cube Puck to invoke actions on your smartphone. Built on the Puck IOT platform.
Dependencies: Puck MPU6050 mbed
The Cube Puck is an innovative bluetooth-enabled remote control device. It is a six-sided cube that can be rotated to any of its sides to invoke actions linked to that side. The cube puck is completely customizable and therefore also quite versatile.
A tutorial for the Cube Puck is available on GitHub.
Tutorials and in-depth documentation for the Puck platform is available at the project's GitHub page
Diff: gatt_service.cpp
- Revision:
- 2:b9b42ff80e9a
- Parent:
- 0:449ee9595cf6
--- a/gatt_service.cpp Thu Jul 03 11:26:44 2014 +0000 +++ b/gatt_service.cpp Wed Jul 09 15:02:59 2014 +0000 @@ -13,7 +13,8 @@ direction_data, sizeof(direction_data), sizeof(direction_data), - GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ); + GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ + | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY); GattCharacteristic *characteristics[] = {&directionCharacteristic}; GattService cube_service(uuid_service,