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.
7 years, 3 months ago.
simple ble API
Hi,
I am using simple BLEexample for Nordic nRF52832 but the target device is not recognised anyone can help me out I am following the link:
https://developer.mbed.org/teams/mbed-x/code/SimpleBLE-Example/
and some issues regarding import: mbed.bld is not imported properly to the mbed compiler.
If any changes are needed to work with nRF52832. otherwise please update the simple ble library for nRF52832
1 Answer
7 years, 3 months ago.
Published here: SimpleBLE-Example-mbedos5.
It compiles but I have not verified that it actually runs as I don't have a nRF52 on hand.
Thank you for replying.
I compiled "SimpleBLE-Example-mbedos5" and loaded to the nRF52832 board after scanning through "nRF connect" app the the peripheral is not recognised. please help me out.
posted by 16 Aug 2017Today I have tried the given example it's working fine. If I want to avoid using the cool term and I want to send the data without cool term what changes I have to make, please help me.
posted by 18 Aug 2017Hi, I tried many Keil examples, here I directly connected to the mobile app(nRF connect).
I tried your "SimpleBLE-Example-mbedos5." example for checking the output and connect with the mobile app it required CoolTerm(cool term is a simple serial port terminal application ).
I loaded the program to the nrf device then the LED is start blinking according to program then i tried to connect with mobile app(nrf connect) but it is not connected to app. if i conncet coolTerm with nrf device the previous all updated data coming instantly on coolTerm console and the mobile is able to connect with device then it wil get updating data on mobile.
whenever I am disconnecting coolTerm some updated data comming on mobile app after that app will not get the data.
again if i connect coolTerm, instantly the previous data from the disconnection time coming on coolTerm console and mobile app also get recent updataed data.
after disconnection of cool term why the mobile app is connected to the device, if app is connected but it is not able to get the data continue. why?
I tried one more example This one also required CoolTerm
https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-ble-LEDBlinker/
I want to know why we need CoolTerm here, how can I avoid this as keil example.
posted by 21 Aug 2017Interesting... I have never seen that behavior. If you comment out all the printf()
calls, does the behavior change?
Hi,
The behaviour is changing it is connecting. to other nrf 52832 device but I need more information regarding service creation like what are the key parameters required to make one custom service like sending some dummy data to other nrf 52832 device. what are the changes I have to make in the given API?.
SimpleBLE.h is a universal API or not?. am not getting scanning function for central. help me out.
posted by 23 Aug 2017