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.

CC2640R2F: What's advertising interval of simple_peripheral under Long Range mode in sdk 1_50_00_71 ?

Part Number: CC2640R2F

Hi All,

I'm studying BLE5 Long Range advertising with simple_peripheral example under skd 1_50_00_71 from code I expect adverting interval should be 100ms.

(

#define GAPADV_PARAMS_AE_LONG_RANGE_CONN { \
.eventProps = GAP_ADV_PROP_CONNECTABLE, \
.primIntMin = 160, \
.primIntMax = 160, \
.primChanMap = GAP_ADV_CHAN_ALL, \
.peerAddrType = ADDRTYPE_PUBLIC_OR_PUBLIC_ID, \
.peerAddr = { 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa }, \
.filterPolicy = GAP_ADV_WL_POLICY_ANY_REQ, \
.txPower = GAP_ADV_TX_POWER_NO_PREFERENCE, \
.primPhy = GAP_ADV_PRIM_PHY_CODED_S2, \
.secPhy = GAP_ADV_SEC_PHY_CODED_S2, \
.sid = 0 \
}

)

however I use simple_central example under CODED PHY the advertising interval is close to 1s. I tried to disable Legacy advertising set and left only LongRange set the result is same.

Is there something missed or how to change Long Range advertising interval under sdk 1_50_00_71 ?

(I tried :

 GapAdv_setParam(advHandleLongRange, GAP_ADV_PARAM_PRIMARY_INTERVAL_MIN, 320);
 GapAdv_setParam(advHandleLongRange, GAP_ADV_PARAM_PRIMARY_INTERVAL_MAX, 320);

)

However this will case LongRange advertising stop at all.

Any idea ?