Solved
[BLE] CubeMX remove function in "custom_app.c"
- March 24, 2026
- 2 replies
- 150 views
Hi,
I found an issue when generating code for a BLE application with STM32CubeMX v6.17.0.
In particular, I have a service called DataTransferService with three characteristics:
- DataStream
- CommandControl
- TransferStatus
The DataStream characteristic is configured as a notification with a fixed value length of 100 bytes.
When I try to increase its length up to 250 bytes and regenerate the code, the following functions in custom_app.c are removed:
- Custom_Datastream_Update_Char()
- Custom_Datastream_Send_Notification()
I have attached the .ioc file for reference.
