Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 10 months ago.
mbed-os-example-ble-Button not working
Hello,
I'm using the plataform Ublox EVK Nina B1 and I add the code to compile and get the .hex, but my problem is when I try to conect with my android the bluetooth signal disappear. If I press the reset button the signal can back for a short time and disappear again.
Can you help me?
Thanks for your attetion.
Best Regards
Rhenan
2 Answers
6 years ago.
While compile the application getting "[Fatal Error] main.cpp@23,21: ble/BLE.h: No such file or directory [ERROR] .\main.cpp:23:21: fatal error: ble/BLE.h: No such file or directory
- include "ble/BLE.h" ^ compilation terminated." error.
could you please help anyone?
Thanks
5 years, 11 months ago.
Hi Vani,
This because the "BLE" feature doesn't add to this target correctly, please add the follow configuration to your mbed_app.json.
Assume your are using target FUTURE_SEQUANA
mbed_app.json
{ "config": { "ble_button_pin_name": { "help": "The pin name used as button in this application", "macro_name": "BLE_BUTTON_PIN_NAME", "required": true } }, "target_overrides": { "FUTURE_SEQUANA": { "target.features_add": ["BLE"], "ble_button_pin_name": "USER_BUTTON" } } }
Thanks,
- Desmond, team Mbed
could you please tell me the steps , what you did exactly?
posted by vani N 24 Dec 2018