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.
Dependencies: BLE_API eMPL_MPU6050 mbed nRF51822
Diff: main.cpp
- Revision:
- 5:ab49c12aab25
- Parent:
- 4:988f87cfa73c
--- 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);