English
Language : 

UM1755 Datasheet, PDF (35/123 Pages) STMicroelectronics – The purpose of this document is to describe the design of the application
UM1755
Vendor specific commands
4.3.16
Aci_Gap_Update_Adv_Data
Table 56. Aci_Gap_Update_Adv_Data
Command name
Parameters
Aci_Gap_Update_Adv_Data (0xFC8E)
Adv Data Length
Adv Data
Return
Status
Description:
This command can be 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.
Table 57. Aci_Gap_Update_Adv_Data command parameters
Parameter
Size
Description
Adv Data Length 1 byte
The number of bytes of data that is to follow in the advData
parameter
Adv Data
0-N bytes
The advData has to be formatted as specified in Bluetooth
specification (Volume 3, Part C, 11), including data length
Table 58. Aci_Gap_Update_Adv_Data return parameters
Parameter
Size
Description
Status
1 byte
0x00: Success
0x41: Failed
4.3.17
Event(s) generated:
A command complete event will be generated when the command has completed with the
status indicating success or failure.
Aci_Gap_Delete_AD_Type
Table 59. Aci_Gap_Delete_AD_Type
Command name
Parameters
Aci_Gap_Delete_AD_Type (0xFC8F)
AD Type
Return
Status
Description:
This command can be used to delete the specified AD type from the advertisement data if
present.
DocID026257 Rev 2
35/123
123