Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API X_NUCLEO_IDB0XA1 X_NUCLEO_IKS01A1 mbed
Fork of SunTracker_BLE_Remote by
This application is the BLE Remote Control for the SunTracker demo application that you can find
here.
Please refer to that page for further information.
Revision 10:d00d09bc31d6, committed 2016-05-12
- Comitter:
- fabiombed
- Date:
- Thu May 12 09:27:25 2016 +0000
- Parent:
- 9:d530044d91b9
- Commit message:
- Update mbed libraries
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue May 10 13:36:52 2016 +0000
+++ b/main.cpp Thu May 12 09:27:25 2016 +0000
@@ -258,7 +258,7 @@
// Read SERVER --> CLIENT
// From SERVER it receives a sensor in this format: TimeStamp (2) + Data (2)
- uint16_t TimeStamp = response->data[0]<<8 | response->data[1];
+ //uint16_t TimeStamp = response->data[0]<<8 | response->data[1];
int16_t Data = response->data[2] | response->data[3]<<8; // Return original value after inverted with STORE_LE_16 into SERVER before send by BLE
//printf("\r\n\ronDataReadCallback (TimeStamp %x)", TimeStamp);
@@ -307,7 +307,7 @@
// From CLIENT it writes a command in this format: Feature (4) + Type (1) + Data (2)
uint32_t Feature = response->data[0]<<24 | response->data[1]<<16 | response->data[2]<<8 | response->data[3];
- uint8_t Type = response->data[4];
+ //uint8_t Type = response->data[4];
int16_t Data = response->data[5]<<8 | response->data[6];
//printf("\r\nmyonDataWriteCallback (Feature %x)", Feature);
--- a/mbed.bld Tue May 10 13:36:52 2016 +0000 +++ b/mbed.bld Thu May 12 09:27:25 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/99a22ba036c9 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/7c328cabac7e \ No newline at end of file
