v2

Dependencies:   BLE_API mbed DOOR

Fork of DOOR by Aura-Tech Solutions

Files at this revision

API Documentation at this revision

Comitter:
fallenfate
Date:
Fri Nov 13 15:31:58 2015 +0000
Parent:
67:81b595625ce0
Child:
69:bc2f5bfe5e33
Commit message:
cool

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BLE_API.lib	Wed Oct 21 18:49:02 2015 +0000
+++ b/BLE_API.lib	Fri Nov 13 15:31:58 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#e2680eab30ef
+https://developer.mbed.org/users/fallenfate/code/BLE_API/#e2680eab30ef
--- a/main.cpp	Wed Oct 21 18:49:02 2015 +0000
+++ b/main.cpp	Fri Nov 13 15:31:58 2015 +0000
@@ -39,12 +39,12 @@
  * TX Power for more accurate results.
  */
 const uint8_t uuid[] = {0xE2, 0x0A, 0x39, 0xF4, 0x73, 0xF5, 0x4B, 0xC4,
-                        0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x61
+                        0xA1, 0x2F, 0x17, 0xD1, 0xAD, 0x07, 0xA9, 0x62
                        };
 uint16_t majorNumber = 1122;
 uint16_t minorNumber = 3344;
 uint16_t txPower = 0xC8;
-DigitalOut led1(P0_5);
+DigitalOut led1(P0_19); // 19 is led on board
 
 void disconnectionCallback(Gap::Handle_t handle, Gap::DisconnectionReason_t reason);
 void onDataWritten(const GattCharacteristicWriteCBParams *params);