STM32WB Nucleo - please share an example to send data from STM to the computer via BLE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-01 3:35 PM
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,
Solved! Go to Solution.
- Labels:
-
STM32WB series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-02 1:50 AM
All examples and infos is in folders : \Users\YUO\STM32Cube\Repository\STM32Cube_FW_WB_V1.1x.y\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-02 1:50 AM
All examples and infos is in folders : \Users\YUO\STM32Cube\Repository\STM32Cube_FW_WB_V1.1x.y\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-02 3:01 PM
Thank you for your reply, they have many examples, but which one is responsible for " send data from STM to the computer via BLE?"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-03 8:40 AM
Normal test destination is mobile phone with BLE test app. For PC destination you need search or create own exe...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-03 10:36 PM
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 Linux PC i use a builtin programm called GATTTool (ubuntu and raspberrys) to handle the BLE stuff https://hackaday.io/project/183086-reading-a-bunch-of-ble-sensors-with-raspberryzero
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-07 3:23 PM
Do you know where I can find examples for stm32wb55cgu6 ?
or all examples only for STM32WB Nucleo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-20 5:40 PM
can you clarify, what does it mean "own exe"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-20 7:19 PM
This means Windows application (.exe) that you create yourself. Or persuade someone to make it for you. These days, it can be even a python script.
