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.

CC2541: Set Unlimited Advertising Time for CC2541 BLE

Part Number: CC2541

i'm working on CC2541 with TI-BLE stack.

i'm working on "SimpleBLEBroadcaster".

Now, i want to set unlimited advertising time. so, is there any API function for set unlimited advertising time. 

Thanks 
Jignesh Narola

  • Hi,

    Yes, please refer to the initialisation of advertisements in the code (i.e. SimpleBLEbroadcaster_init). There should be a variable called AdvertOffTime or something like that. It should be set to 0.

  • it's alredy Zero. but same issue.. 

    //Flags set the device to use limited discoverable mode (advertises for 30 seconds at a time) instead of general discoverable mode (advertises indefinitely)
    GAP_ADTYPE_FLAGS,
    GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED | GAP_ADTYPE_FLAGS_GENERAL

    i got a success but by above changes in code.