Skip to main content
IRakh.1
Associate III
October 1, 2022
Solved

STM32WB Nucleo - please share an example to send data from STM to the computer via BLE?

  • October 1, 2022
  • 2 replies
  • 2580 views

Hello, I need to send data from STM32WB Nucleo to the computer (any symbol), I spend many days, but didn't find any simple example for that in Google. I was surprised usually I never had a problem like that...

Please, can you share a simple example of how to send data/symbol/something from STM32 WB to the computer via BLE

Regards,

This topic has been closed for replies.
Best answer by MM..1

All examples and infos is in folders : \Users\YUO\STM32Cube\Repository\STM32Cube_FW_WB_V1.1x.y\

2 replies

MM..1
MM..1Best answer
Chief III
October 2, 2022

All examples and infos is in folders : \Users\YUO\STM32Cube\Repository\STM32Cube_FW_WB_V1.1x.y\

IRakh.1
IRakh.1Author
Associate III
October 2, 2022

Thank you for your reply, they have many examples, but which one is responsible for " send data from STM to the computer via BLE?"

MM..1
Chief III
October 3, 2022

Normal test destination is mobile phone with BLE test app. For PC destination you need search or create own exe...

Bluetooth LE Explorer – aplikácie v Microsoft Store

Javier1
Principal
October 4, 2022

Hi @IRakh.1​ , i have been there and done that.

Your struggle is normal.

Even if they share the same name BLE and bluetooth Classic are different beasts.

In bluetooth classic you would find a Serial profile port which acts as a transparent Serial transmission.

Well, bad news, in BLE there is no standard serial profile so you need to build your own(in fact, every BLE module provider has their own, including st).

Make sure you understand BLE things like characteristics, services, descriptors and all that first.

  • The fastest way for you to transmit bytes to your Phone it would be to use one of the BLE debugging tools on your phone like "LightBlue" or "ST BLE toolbox".

  • In Windows PC i just do a desktop app with QT Creator.

In addition to all this you could use Google Chrome's webBLE API to control the BLE from the web browser with javascript. https://www.hackster.io/javier-munoz-saez/controlling-this-blinky-boy-from-chrome-webble-0b9708

hit me up in https://www.linkedin.com/in/javiermuñoz/