Skip to main content
Associate
August 20, 2026
Question

STM32WB5MMG BLE data transfer logic

  • August 20, 2026
  • 2 replies
  • 39 views

Hello ST Community,
I would appreciate your guidance on the logic for BLE data transfer. I've created custom GATT services to transmit sensor data to mobile application via BLE. Currently, the data is sent in HEX format. Is there any method to send the raw read values from the sensor instead of HEX format so that it would be easily read and not prone to parsing errors. I've searched online for resources but haven't found a suitable one, so I'm posting here.
Thanks in advance

2 replies

Dominique FOLLEZOUR
ST Employee
August 21, 2026

Hi

Could you let us know product used ?

In BLE you can transmit for what you want.

You just need to agree between peripheral and application.

I am not sure about concern here. In FW peripheral you are collecting temp data, and trough BLE notification you are willing to display data a a readable value for end user such as 25 degrees.

As in BLE you can transfer what you want it”s just a matter of data conversion and interpertration. For sure if client applicaiton is a standard application such as BLE Scanner, NRF Connect, Light Blue you, such application just display raw data received without conversion, if you want such application to display readable end user value, you have to convert in peripheral your raw data to ascii.

Br

Dom

 

interndfAuthor
Associate
August 21, 2026

Hello ​@Dominique FOLLEZOUR , thanks for the reply


Product in use is STM32WB5MMG. It is true about standard applications but we made a custom app to capture data. My application involves at least 2-3 sensors, with one needing to output data at higher frequencies. I thought about converting the data to ASCII, but that would put a significant load on the device.