SunTracker_BLE_Remote
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.
Diff: main.cpp
- Revision:
- 9:d530044d91b9
- Parent:
- 8:63b01a643f4d
- Child:
- 10:d00d09bc31d6
--- a/main.cpp Fri Apr 22 14:41:25 2016 +0000 +++ b/main.cpp Tue May 10 13:36:52 2016 +0000 @@ -3,7 +3,7 @@ * @file main.cpp * @author Fabio Brembilla * @version V2.0.0 - * @date April, 2016 + * @date May, 2016 * @brief SunTracker + BLE (Client) Vertical Application * This application use IKS01A1, IDB0XA1 expansion boards ****************************************************************************** @@ -65,10 +65,8 @@ //typedef uint16_t ShortUUIDBytes_t; //typedef uint8_t LongUUIDBytes_t[LENGTH_OF_LONG_UUID]; -//const Gap::Address_t BLE_address_BE = {0xFF, 0xEE, 0xDD, 0xCC, 0xBB, 0xAA}; // CLIENT address -//const Gap::Address_t BLE_peer_address_BE = {0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF}; // SERVER address (must be the same of SERVER) -const Gap::Address_t BLE_address_BE = {0xCC, 0x00, 0x00, 0xE1, 0x80, 0x02}; // CLIENT address -const Gap::Address_t BLE_peer_address_BE = {0xFD, 0x66, 0x05, 0x13, 0xBE, 0xBA}; // SERVER address (must be the same of SERVER) +const Gap::Address_t BLE_address_BE = {0xCC, 0x06, 0x05, 0x04, 0xCB, 0xCA}; // CLIENT address +const Gap::Address_t BLE_peer_address_BE = {0xFC, 0x03, 0x02, 0x01, 0xFB, 0xFA}; // SERVER address (must be the same of SERVER) //const UUID::ShortUUIDBytes_t CONTROL_COMMAND_CHAR_UUID = 0xA001; //const UUID::ShortUUIDBytes_t SENS_STATUS_CHAR_UUID = 0xB001;