Skip to main content
rraf3
Visitor II
August 15, 2019
Question

BLUENRG-2 - Change Adversitive Interval

  • August 15, 2019
  • 1 reply
  • 533 views

Hi! 

I developed pcb with BLUENRG-2 IC. 

Where in BLE-Beacon example (ST BlueNRG-1_2 DK 3.1.0) I may change Adversitive Interval? 

This is need for me, because my application need more free CPU time. 

Thank you!

    This topic has been closed for replies.

    1 reply

    Winfred LU
    ST Employee
    August 16, 2019

    In BLE_Beacon_main.c line 324,

    when calling aci_gap_set_discoverable() the first 3 parameters are:

    uint8_t Advertising_Type,
    uint16_t Advertising_Interval_Min,
    uint16_t Advertising_Interval_Max,

    Please configure the second and the third parameter accordingly.

    The range of the values would be 0x0020 to 0x4000,

    with Time = value * 0.625 ms, the range of the time will be respectively 20 ms to 10240 ms.