I am referring to Bluetooth Low Energy 2M PHY link: http://dev.ti.com/tirex/explore/node?node=ALwnhYPhBI3cpBUH0.q0nQ__pTTHBmu__LATEST
In "Bonus Task 2 – Advertise on LE 2M PHY", it is mentioned that following should be configured in order to enable 2M PHY for extended advertisement:
#define GAPADV_PARAMS_2M_CONN { \
.eventProps = GAP_ADV_PROP_CONNECTABLE, \
.primIntMin = 160, \
.primIntMax = 160, \
.primChanMap = GAP_ADV_CHAN_ALL, \
.peerAddrType = PEER_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_1_MBPS, \
.secPhy = GAP_ADV_SEC_PHY_2_MBPS, \
.sid = 0 \
}
Mainly, "secPhy" is set to 2M PHY. However, I would like to know what are the different options for "evenProps" if "secPhy" is set to 2M PHY:
- Is "Non-Connectable and Non-Scannable" allowed? "eventProps" is set to 0x00 is this case.
- Is both "Connectable and Scannable" allowed? "eventProps" is set to "GAP_ADV_PROP_CONNECTABLE | GAP_ADV_PROP_SCANNABLE"?
- Either "Connectable" OR "Scannable" allowed? "eventProps" can be set to either GAP_ADV_PROP_CONNECTABLE OR GAP_ADV_PROP_SCANNABLE but not both.
Which one among above is correct?