Skip to main content
RNort
Associate
March 24, 2020
Question

STM32CubeMX WB55 code generation errors.

  • March 24, 2020
  • 3 replies
  • 845 views

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...

This topic has been closed for replies.

3 replies

Khouloud ZEMMELI
ST Employee
April 10, 2020

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
RNortAuthor
Associate
April 10, 2020

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
April 10, 2020

Hi @RNort​ ,

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

Best Regards,

Khouloud