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.

CC2652R: Simple Broadcaster enable advertising on coded phy

Part Number: CC2652R
Other Parts Discussed in Thread: SYSCONFIG

Hello,

Similar to my question about project zero, I tried to simplify and use the Simple Broadcaster example to just enable advertising on the coded phy. Again here I just changed the advertisement type to "extended".

First I was getting an invalid parameter error when trying to create the advertisement set because simple broadcaster changes the settings created in sysconfig. On line 407:

        #ifndef BEACON_FEATURE
          advParams1.eventProps = GAP_ADV_PROP_SCANNABLE | GAP_ADV_PROP_LEGACY;
        #else
          advParams1.eventProps = GAP_ADV_PROP_LEGACY;
        #endif // !BEACON_FEATURE

I commented out line 408 and this resolved the issue with invalid parameters.

The second error I encountered is very similar to my project zero issue I encountered where an error was returned when loading the GAP Scan RSP data. This time the error code returned is 0x01 for invalid parameter. Again, am I missing something in the configuration of scan response that's preventing the code from running correctly?

The final comment I have on this example is that the application writes to the display terminal (lines 391 to 401) before the advertisement set is enabled. This caused me to spend a long time thinking the simple broadcaster was advertising and that I was somehow misconfiguring host test. This output should really occur after GapAdv_enable on line 436.

Thanks in advance and look forward to your suggestions!

Regards,

Munan