现在我正在将SUOTA功能实现到DSPS参考项目中。< br / > # 1。目标板:DA14580 Development Kit-PRO。< br / > # 2。base project: DSPS ref. preoject from http://support.dialog-semiconductor.com/reference-designs
#3SUOTA示例代码:prox_reporter。我的启动项目是在#2以上,并实现了SUOTA和dis。代码修改完全基于上面的#3源代码。
最后阶段出现歧义。< / p > < p > < >强问题1。
DSPS的广告数据(如下所示)是必须与DSPS Central一起工作的? i.e. If I change the advertising data something different, the android DSPS application can not communcate with my DSPS device?
// DSPS's advertising data.
#define APP_DFLT_ADV_DATA "\x11\x07\xb7\x5c\x49\xd2\x04\xa3\x40\x71\xa0\xb5\x35\x85\x3e\xb0\x83\x07"
#define APP_DFLT_ADV_DATA_LEN (18)
Question2.
The SUOTA's Advertising Data(as following) is mandatory to work with android's SUOTA ? ex. if the advertising data is different, the android's SUOTA can not find my device ?
// SUOTA example prox_reporter's advertising data.
#if (BLE_SPOTA_RECEIVER)
#define APP_ADV_DATA "\x09\x03\x03\x18\x02\x18\x04\x18\xF5\xFE"
#define APP_ADV_DATA_LEN (8+2)
#else
Question3.
If the both question1 and question2 ' s answer is yes, how can I make the advertising data which can be used for both DSPS and SUOTA ?
Question4.
The DISS is mandatory for SUOTA ?
If the DISS is not implemented to my device, the android's SUOTA can not work with my device? ex. If my device without DISS, the android's SUOTA can not find my device or can not update new software?