In the tutorial 01 there is the following:
static const struct advertise_configuration user_undirected_advertise_conf ={
/// Advertise operation type.
.advertise_operation=ADV_NON_CONN,
However advertise_operation is not in the advertise_configuration
neither is intv
defined in sdk/app_modules/app_user_config.h
SDK is 5.04
Device:
Hi paulb231,
Thats because the tutorial is based on the 5.0.3 SDK as it is mentioned on the 3rd page of the tutorial. You can either check the 5.0.3 SDK or the user_adv_conf structure on the 5.0.4 SDK which is the equivalent structure with the previous one (but still the .advertise_operation isn't configurable from this struct and you will have to create a custom message to create non connectable advertising messaged) regarding the intv you can set the intervals from intv_min and intv_max.
Thanks MT_dialog