for camera
Dependencies: BLE_API mbed nRF51822
Fork of BLE_GATT_Example by
Diff: main.cpp
- Revision:
- 34:0a5b9e4e7680
- Parent:
- 33:65b7bedb0877
--- a/main.cpp Mon Jun 12 22:58:39 2017 +0000 +++ b/main.cpp Wed Jun 14 21:35:52 2017 +0000 @@ -6,7 +6,7 @@ uint16_t readCharUUID = 0xA001; uint16_t writeCharUUID = 0xA002; -const static char DEVICE_NAME[] = "timesync1"; // change this +const static char DEVICE_NAME[] = "timesync2"; // change this static const uint16_t uuid16_list[] = {0xFFFF}; //Custom UUID, FFFF is reserved for development @@ -82,7 +82,7 @@ BLE& ble = BLE::Instance(BLE::DEFAULT_INSTANCE); ble.init(bleInitComplete); - ble.setTxPower(-20); + ble.setTxPower(-4); /* SpinWait for initialization to complete. This is necessary because the * BLE object is used in the main loop below. */