Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have implemented the OTA update on my board.

In fact, the update by HCI or OTA works fine (by Android or Windows example provided by the SDK). The functionalities of the firmware are correctly updated.

But I would to check the firmware version by the Android application. So with the Android update application I check the characteristic Application Info, the issue is that the version returned by the firmware is false: the value is always Major=1, Minor=1, even the right value is 1.2 or 1.3 (defined by: #define MY_APP_ID 0x0476,  #define MY_APP_VERSION_MAJOR 1, #define MY_APP_VERSION_MINOR 3, for WS_UPGRADE_CHARACTERISTIC_APP_INF definition).

Note: the application ID is correct.

What do you think I have forgotten or wrongly done ?

0 Likes
1 Solution
Anonymous
Not applicable

Hello.

The adv and scr are separate packets so they can each be 31 bytes.

But remember each field has two bytes header (length and value).

So that leaves 29 bytes for actual data.

You can find more about adv packets in the following link:

Advertiser and Scanner

James

View solution in original post

10 Replies