5 posts / 0 new
Last post
scourfield
Offline
Last seen:3 years 4 months ago
加入:2014-05-06 12:19
Beacon - SPOTA or SUOTA

Hi Dialog,

A mix of hardware and software questions.
We are working on a battery iBeacon for which we require some of the beacon parameters to be updated by a maintenance app (UUID, major, minor, Tx rate e.t.c). Originally we planned to update these parameters using a patch which was updated by SPOTA, but since your new beacon reference design I see uses now uses SUOTA. If possible I have some questions relating to this application:
1. When updating only a few parameters is SPOTA or SUOTA more suitable for this application and easier for develpment?
2. We planned to use external I2C memory for the patch which I am not sure of the patch size required, but do you have any approved I2C with smaller memory compared to the versions listed in AN-B-023 which are fairly high cost?
3. We are using the Expert Dev kit, but P0_5 is currently used for the serial debug. If using external flash, how do you configure the dev kit if using external SPI Flash and serial debug?

Thanks
David

Keywords:
JE_Dialog
Offline
Last seen:6小时26分钟ago
Staff
加入:2013-12-05 14:02
Hello David,

Hello David,

(1) SUOTA will be more suitable : we will have more examples and tools related to this in the future and it allows much more flexibility . By default for new platforms we'll probably also support only SUOTA and not SPOTA . We'll have a new apps note on SUOTA in about 1-2 weeks time (fully documented).

(2) If you look at the keyboard reference design, we use a small EEPROM on that (about 2Kb) - type number CAT24AA02TDI. Please note that our SUOTA implementation wil replace the whole image , and we typically also use a dual bank image, and recommend a 1Mbit FLASH (tends to be low cost point).

(3) We have little plug in daughter card with a memory on it that can be used with EXPERT kit... its not officially released, but we can provide one for you if needed. The other option is to use the BASIC kit because that has already the 1Mbit flash on it.

BR JE_Dialog

scourfield
Offline
Last seen:3 years 4 months ago
加入:2014-05-06 12:19
Hi JE_Dialog,

Hi JE_Dialog,

Thanks for the info.
If you could send me the daughter card with Flash memory for the Expert Kit that would be great.

On the SUOTA if replacing the whole image, for your new Beacon reference design do you have an idea of how long that update will take?

Thanks
David

redbear
Offline
Last seen:5 years 6 months ago
加入:2015-01-30 08:50
Hi,

Hi,
how to add more services in scan response data,
for suota app from dialog I set response data to #define APP_SCNRSP_DATA "\x03\x02\xF5\xFE"
but I have another app, it will connect to beacon only when a specific 128bit uuid is included in the scan response data,
so #define APP_SCNRSP_DATA "\x11\x06\xDE\x1F\xAE\x9D\x1C\x0B\x3A\xF9\xA8\xA7\x96\xA5\x84\x23\x72\xB1"
how to make both of then work?
Looking forward to your reply!
Thank you!

Joacimwe
Offline
Last seen:1 year 3 months ago
Guru
加入:2014-01-14 06:45
You can make use of both APP

You can make use of both APP_ADV_DATA and APP_SCANRSP_DATA.
When advertising, it works like this: The advertising data (APP_ADV_DATA) is broadcasted from the DA14580. An initiator (for example a smartphone) can, when it receives an advertisement packet, send a scan request to the peripheral, which will in turn send back the scan response data (APP_SCANRSP_DATA). This is called scanning in active mode. The opposite is passive mode when the initiator does not send back scan requests. The scan response data is treated the same as advertisement data, so just add the beacon service in the advertisement data and the dialog service to the scan response data for example. If everything fits, you can put it in the advertisement data like this:

#define APP_ADV_DATA "\x11\x06\xDE\x1F\xAE\x9D\x1C\x0B\x3A\xF9\xA8\xA7\x96\xA5\x84\x23\x72\xB1\x03\x02\xF5\xFE"
just make sure you set the correct APP_ADV_DATA_LEN.