cancel
Showing results for 
Search instead for 
Did you mean: 

Sending sensor data via BLE

NicRoberts
Senior

P-Nucleo STM32WB55

I have two 3-axis accelerometers & toe temperature sensors on an I2C bus. I taking measurements at 1 Hz.

I would like to send this data over BLE. Every tutorial so far seems to skip how to read the data into a characteristic & then send it. At this point I am only interested in broadcasting.

I've managed to set up an attribute for reading, given the service its names. I can see the device & the service advertised on my phone via ST's BLE app. So how do I get the data into the service?

I'm going around in circles here!!

Please no "have you looked at the examples", yes I have they aren't making any sense to me, I need to talk to a human about this.

22 REPLIES 22
FilipKremen
ST Employee

Hello,

I'm glad it's working for you. 

Does the app crash always on your side?

I also noticed it crashes sometimes.

Best regards,

Filip Kremen

 

 

Sorry for the late reply, been on annual leave.

So far it hasn't crashed. I'll leave it on for a few day & see what happens.

Its been running for 5 days now, no problems.

What kind of crash are you getting?