cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX WB55 code generation errors.

RNort
Associate

Board: P-Nucleo-WB55

BLE Application Type : Server

Server mode : Custom template

Bug#1: CFG_GAP_DEVICE_NAME always has a "TEMPLATE" value and is independent of the value set in CubeMX.

Bug#2: Routine "Custom_STM_App_Update_Char" was generated with invalid call of "aci_gatt_update_char_value" routine. Instead service handle generated characteristic handle.

P.S. Sorry for terrible English...

3 REPLIES 3
Khouloud ZEMMELI
ST Employee

Hello @RNort​ ,

Thank you for the feedback,

Second bug is confirmed and it will be fixed for the next release, Otherwise for the first big could you please give me more details and share the ioc file ?

Thanks,

Khouloud

RNort
Associate

Sure. Take a look.

After code generation file "app_conf.h" contains that:

#define CFG_GAP_DEVICE_NAME       "TEMPLATE"

#define CFG_GAP_DEVICE_NAME_LENGTH   (8)

Khouloud ZEMMELI
ST Employee

Hi @RNort​ ,

You're right , it will be fixed for a next release.

Best Regards,

Khouloud