cancel
Showing results for 
Search instead for 
Did you mean: 

Data transfer via BLE to mobile app

barathi_0206
Associate

I'm working on sensor data transfer via BLE to mobile app (like nrf connect). My STM32WB board gets connected with the app, but the data is not transmitted. When I give functions in the main while loop for transmitting, it stop the device advertisement at mobile app. How to transfer the data to mobile app? I need to send continuous sensor data to mobile app.
I've also tested timer function as well. But still, it's impossible for me to transfer the data. 

I'm attaching the image of mobile app connection, there you can see that the value is 0. There, I need sensor data to be printed.
Can anyone help me to resolve this issue? Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @barathi_0206 

I suggest you to take a look at this application and compare it to your configuration. It should be really helpful.

Dont forget to read the readme file of this project and take a look at the wiki pages mentionned there. It should be helpful too.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

Hello @barathi_0206 

I suggest you to take a look at this application and compare it to your configuration. It should be really helpful.

Dont forget to read the readme file of this project and take a look at the wiki pages mentionned there. It should be helpful too.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Thankyou @STTwo-32! It works. However it works for static continuous data. But with varying data (like from sensors), it doesn't receive it. In mobile app I receive data like 2E-16-00-00-00. I have also increased my UUID type into 128 bits. Still it receive like this. How to solve it?