BTLE demo for MAXWSNENV.
Dependencies: BLE_API BMP180 Si7020 mbed MaximBLE
Diff: main.cpp
- Revision:
- 2:6f76d6160601
- Parent:
- 1:1876781d537e
--- a/main.cpp Thu Mar 03 14:48:57 2016 +0000 +++ b/main.cpp Thu Aug 18 21:09:13 2016 +0000 @@ -321,7 +321,7 @@ ble.init(); /* Set MAC Address */ - Gap::addr_type_t typeP = Gap::ADDR_TYPE_RANDOM_STATIC; + Gap::addr_type_t typeP = BLEProtocol::AddressType::RANDOM_STATIC; Gap::address_t address; getBtleAddress((uint8_t*)&address); ble.gap().setAddress(typeP, address);