SWRA491A September 2015 – October 2016 CC2640 , CC2640R2F , CC2650 , CC2650MODA
To create the set up for configuration mode advertising, use the same method described in Section 5.2.1 but with different properties than shown in Table 2. In this section, only the differences from Section 5.2.1 are noted.
For ADV Event Type, GAP_ADTYPE_ADV_IND as the value is used because configuration mode is connectable.
For ADV Type Flags, the GAP_ADTYPE_FLAGS field of the struct variable eddystoneCfgAdv for configuration mode is initialized with GAP_ADTYPE_FLAGS_BREDR_NOT_SUPPORTED, together with GAP_ADTYPE_FLAGS_GENERAL, because configuration mode is discoverable.
advInt for ADV Interval is set to GAP_ADTYPE_ADV_IND. Typically the interval for configuration mode is shorter than that for regular advertising mode.
TX Power should be set to the value corresponding to TX_POWER_MODE_MEDIUM.
When all of the above properties are set and the ADV data is updated using GAPRole_SetParameter() with the parameter ID GAPROLE_ADVERT_DATA, advertising is ready to start.
Lastly, connectable advertising mode is enabled by calling GAPRole_SetParameter() with the parameter ID GAPROLE_ADVERT_ENABLED.
All the procedures described in this section are handled in SimpleEddystoneBeacon_startConfigAdv().