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.

Dynamic update of AdvertData ( Advertsing UUID)

Other Parts Discussed in Thread: CC2650

I need to change the AdvertData of my CC2650 , I get the advertising uuid on UART from a Host controller . Should I just call the GAP_UpdateAdvertisingData()  function with the uuid or is there any procedure I need to follow. Any help would be appreciated .

  • Hello Sid,

    Yes, you can also quickly prototype this using BTool + HostTest firmware.

    Best wishes
  • Right now I intitilize the advert data on CC2650 in SimpleBleperipheral_init() and then call the function to update ,Following is my code where advertData_update is my new advertisement data

    uint8 advertEnabled = FALSE;
    GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),
    &advertEnabled);

    GAPRole_SetParameter(GAPROLE_ADVERT_DATA, sizeof(advertData_update), advertData_update);

    advertEnabled = TRUE;
    GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),
    &advertEnabled);


    The code seems to execute but my advertising uuid is still not changed . Any suggestions