This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Advertising with Random Address

Other Parts Discussed in Thread: CC2564

I am attempting to use a random address with BLE advertising and getting an unexpected result.

The system has a LS Research TiWi-uB2 Bluetooth dual mode module, that incorporates the TI CC2564 radio.
This is attached to a TIVA C Series development board DK-TM4C129X.

The firmware is based on the SPPLE demo.

I have changed the advertising parameters in the AdvertiseLE() function from 'ConnectabilityParameters.Own_Address_Type = latPublic;' to 'ConnectabilityParameters.Own_Address_Type = latRandom;'.
The output that I see on the console serial port is "   GAP_LE_Advertising_Enable returned -512".
This is not listed as a return code from the GAP_LE_Advertising_Enable() function in the documentation.

What does this return value mean?

Do I need to change anything in the preceding calls?

Do I need to generate a Non-resolvable or resolvable address first and set this to be the random address before this can work?
This is my best guess from looking at the documented functions.

Thank you,

Kevin.