-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nRF52 test #1
Comments
i am trying to test it on a nrf52832 board and when it's calling the .open() method the program is crashing and restarting. Tried with Sandeep nrf52 core with and without a SoftDevice. |
thank you. please try without soft device with extras/nRF5/platform.local.txt from GitHub. I just updated it with build extra flags for no-delete-null-pointer-checks |
Hi @JAndrassy , thanks for your response, i can confirm that its working great on the nrf52832 chip. I am trying now with the softdevice. |
With the softdevice i have some issues, i am trying with the BLESerial example ... before trying OTA i am stopping the service using bleSerial.end(); function then trying to do the OTA and the MCU is crashing and restarts. |
thank you. partially good news. did you build and upload the sketch with softdevice selected in Tools menu? |
Yes, i am using softdevice 2.0.1 and BLESerial example... i am sure it has to do with SoftDevice usage, if i dont use the bleSerial.start() it's ok... probably i need somehow to disable completely the Softdevice, i hoped that bleSerial.end(); would do the work but its crashing. I ll keep trying and let you know. |
why |
I am using this one example to implement a virtual Serial between MCU and mobile app. Its working great till now with the nrf52, only the .end() function is not stopping the BLE service for some reason. |
try to ask Sandeep in the library repository |
I have found a solution, i am using the SD function sd_ble_gap_adv_stop(); just before the .end() and it stops advertising now. |
nRF52 was not tested yet. it compiles.
The text was updated successfully, but these errors were encountered: