Can't receive more than 2 datas in BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 6:05 AM
I'm currently using the STM32 board B-U585I-IOT2A. The BLE module is working as BLE Server, and I want to transmit data.
So, using BLE_NOTIF_VAL as explained here (https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WB_AT_Server), I can send 1 or 2 values maximum, and it's working, I can get back these values on the app ST BLE Toolbox.
But, if I want to send 3 uint8_t values at the same time, it's not working anymore and any values are sent. And I would like to understand why and how to solve it. Because the buffer that the STM32 board can send to the Client is 64 uint8_t values.
For exemple, I can send data through BLE_NOTIF_VAL1, and I receive x01x02. But, with BLE_NOTIF_VAL2, I receive x00x00.
Thank you for your help
Solved! Go to Solution.
- Labels:
-
BLE
-
STM32WB series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 7:39 AM
Finally, I found the mistake, it's about the lenght of my characteristics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 7:39 AM
Finally, I found the mistake, it's about the lenght of my characteristics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-18 1:18 AM
Its the length of the characteristics when setting the BLE in stmcubemx under characteristics
