Dialog Semiconductor customer support - Observer mode https://support.dialog-semiconductor.com/resource-keywords/observer-mode en USER_ADVERTISE_DATA https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/useradvertisedata

Hello Dialog_Support,

1. We are configuring DA14580 MCU as a broadcaster mode. So we need to dynamically change USER_ADVERTISE_DATA string to send dynamically changed data. But this USER_ADVERTISE_DATA is defined in user_config.h file so we can not modify it. Is there any provision so we can modify USER_ADVERTISE_DATA in our user defined function?

2. Can we define more than one USER_ADVERTISE_DATA?
for example
#define USER_ADVERTISE_DATA ("\x03"\
ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_IDS\
ADV_UUID_DEVICE_INFORMATION_SERVICE\
"\x11"\
ADV_TYPE_COMPLETE_LIST_128BIT_SERVICE_IDS\
"\x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x03\x00\x0F\xCA\xEA\x80\x7F")

#define USER_ADVERTISE_DATA1 ("\x03"\
ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_IDS\
ADV_UUID_DEVICE_INFORMATION_SERVICE\
"\x11"\
ADV_TYPE_COMPLETE_LIST_128BIT_SERVICE_IDS\
"\x2F\x2A\x93\xA6\xBD\xD8\x41\x52\xAC\x03\x00\x0F\xCA\xEA\x80\x00")

The above mention code snippet is possible or not?

3. If we want to send more than 1 advertisement packets with different payloads then do you have any example code?

4. How to change advertisement packet transmission rate?

Device: 
Mon, 05 Mar 2018 09:30:34 +0000 Ruchi Patel 156748 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/useradvertisedata#comments