BLE : Start fast advertising failed
The following function aci_gap_update_adv_data returns the error 0x91 which means "Failed". We don't understand why we have this error and the startup of the device. Do you have any idea ?

Best regards,
Audrey
The following function aci_gap_update_adv_data returns the error 0x91 which means "Failed". We don't understand why we have this error and the startup of the device. Do you have any idea ?

Best regards,
Audrey
The aci_gap_update_adv_data command is used to update the advertising data for a particular AD type. If the AD type specified does not exist, then it is added to the advertising data. If the overall advertising data length is more than 31 octets after the update, then the command is rejected and the old data is retained.
As you see on your screenshot, in your case before call the command, the advertising data size is 19 bytes, when you call aci_gap_update_adv_data command you will add 14 bytes, so advertising data size will be 33 bytes which is greater than max allowed (e.g 31 bytes), that's why the command is rejected.
To solve your issue, you can reduce the local name or the manufacturer data, or you can remove a specific AD type like TX Power using aci_gap_delete_ad_type command for example.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.