雷竞技电竞平台Dialog Semiconductor客户支持- DA14581 DA14585 advertising incomplete ervicelist https://support.dialog-semiconductor.com/resource-keywords/da14581-da14585-advertisement-incompleteservicelist DA14581停止发送广告 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14581-stops-sending-advertisements < div class = "字段field-name-taxonomy-forums field-type-taxonomy-term-reference field-label-above”> < div class = "字段标签" >论坛:,< / div > < div class = "字段条目" > < div class =”field-item甚至“rel = " sioc: has_container " > < a href = " /论坛/ dialog-smartbond-bluetooth-low-energy - % E2 % 80% 93 -软件”“=“sioc:容器sioc:论坛”属性= " rdfs: label skos: prefLabel”数据类型= " " >对话框Smartbond蓝牙低能量-软件< / > < / div > < / div > < / div > < div class =”字段field-name-body field-type-text-with-summary field-label-hidden”> < div class = "字段条目" > < div class =”field-item甚至“财产=“内容:编码”> < p >你好,< / p > < p >我有一个问题让芯片发送广告,因为我需要他们。
我需要做的是按照客户的要求,将两个不完整的服务id列表添加到单个广告中。< br / > # define USER_ADVERTISE_DATA " \ x03 " \ < br / > ADV_TYPE_INCOMPLETE_LIST_16BIT_SERVICE_IDS \ < br / > \ x70 \ x31“\ < br / > " \ x03 " \ < br / > ADV_TYPE_INCOMPLETE_LIST_16BIT_SERVICE_IDS \ < br / > \ x70 \ x30”< / p > < p >设置导致调试器停止直接发送没有任何广告,它在nmi_handler.c结束。如果我删除一个不完整的列表,广告就会被发送。
Works:
#define USER_ADVERTISE_DATA "\x03"\
"\x70\x31"
Works also:
#define USER_ADVERTISE_DATA "\x03"\
" ADV_TYPE_INCOMPLETE_LIST_16BIT_SERVICE_IDS\
"\x70\x30"
Works also:
#define USER_ADVERTISE_DATA "\x03"\
ADV_TYPE_INCOMPLETE_LIST_16BIT_SERVICE_IDS\
"\x70\x31" \
"\x03"\
ADV_TYPE_COMPLETE_LIST_16BIT_SERVICE_IDS\
"\x70\x30"

结果是一样的。

我希望有人能给我一个提示,为什么芯片拒绝发送两个id都不完整的广告。 This can be replicated by using the barebone example of the sdk and setting this as the advertisement data in user_config.h.

Best regards,
Tim

Device: 
Tue, 05 Mar 2019 10:41:09 +0000 TiKoEsope 291240年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/da14581-stops-sending-advertisements#comments