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 eMPL_MPU6050 mbed nRF51822
Revision 5:ab49c12aab25, committed 2018-09-20
- Comitter:
- valecapaldi
- Date:
- Thu Sep 20 13:56:49 2018 +0000
- Parent:
- 4:988f87cfa73c
- Commit message:
- First test with Seeed Tiny BLE streaming realtime data over BLE and USB Serial.; This program is based in the "Tiny BLE Getting started" using the eMotion Driver 5.12 pulling the sensor values from the DMP.
Changed in this revision
| LEERRR.md | Show diff for this revision Revisions of this file | 
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/LEERRR.md Thu Sep 20 13:39:57 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -ESTE PROGRAMA ENVIA VIA BTLE LOS VALORES DE GIROSCOPO A LA PC - -BTLE NAME: CastingAnalyzer -BTLE MAC ADDRESS: C6:6C:3F:A8:B9:ED -
--- a/main.cpp	Thu Sep 20 13:39:57 2018 +0000
+++ b/main.cpp	Thu Sep 20 13:56:49 2018 +0000
@@ -232,7 +232,7 @@
     ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED);
     ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED);
     ble.accumulateAdvertisingPayload(GapAdvertisingData::SHORTENED_LOCAL_NAME,
-                                     (const uint8_t *)"CastingAnalyzer", sizeof("CastingAnalyzer"));
+                                     (const uint8_t *)"TinyBLE", sizeof("TinyBLE"));
     ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LIST_128BIT_SERVICE_IDS,
                                      (const uint8_t *)UARTServiceUUID_reversed, sizeof(UARTServiceUUID_reversed));
     DFUService dfu(ble);