3 Replies Latest reply on Apr 14, 2015 5:09 PM by saga_2182186

    Unstable Advertisement BCM20736S

      I use the following parameters for advertisement:

          /*.default_adv                    =*/ 4,    // HIGH_UNDIRECTED_DISCOVERABLE

          /*.button_adv_toggle              =*/ 0,    // pairing button make adv toggle (if 1) or always on (if 0)

          /*.high_undirect_adv_interval     =*/ 800,   // slots (800 x 0.625 = 500 ms)

          /*.low_undirect_adv_interval      =*/ 0, // slots

          /*.high_undirect_adv_duration     =*/ 2,   // seconds

          /*.low_undirect_adv_duration      =*/ 0,  // seconds

          /*.high_direct_adv_interval       =*/ 0,    // seconds

          /*.low_direct_adv_interval        =*/ 0,    // seconds

          /*.high_direct_adv_duration       =*/ 0,    // seconds

          /*.low_direct_adv_duration        =*/ 0,    // seconds

       

      I want to advertise every 500ms for 2 seconds and then go to sleep mode(devlpm_enterLowPowerMode();) for 2 seconds. Fine timer is at 1000ms, and 1s timer is on.

       

      I check for the advertisements to stop where I put the device to sleep mode, and then after 2 seconds (1s timer function) I put the device back to high advertisement mode.

       

      The attached CSV file is the advertisement frequency I see on an iOS device.