769 views|5 replies

2865

Posts

4

Resources
The OP
 

【NUCLEO-WB09KE】Bluetooth communication and OTA upgrade [Copy link]

This post was last edited by bigbat on 2024-10-19 15:12

1. Test introduction

At present, all upgrades we use can be upgraded using OTA, and ST can also use Bluetooth communication for OTA upgrade programs. This test will test OTA. In addition to the NUCLEO-WB09KE development board, the hardware for the test also needs to prepare mobile phone hardware or PC host. Mobile phones can only be used as OTA upgrade servers, while PCs can be used for development in addition to being used as OTA upgrade servers. Since it is OTA, it should be easy to use. Therefore, ST will provide a web-based OTA service program.

According to ST's solution, you only need to download

链接已隐藏,如需查看请登录或者注册
program locally, and then modify it to the company's OTA page as needed.

But there is a BUG here. After installing my application, it keeps stopping at "npm warn deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.xx" and won’t move anymore.

npm  install

So you can only use https://applible.github.io/Web_Bluetooth_App_WBA/

Page links and matchmaking and upgrade servers.

2. NUCLEO-WB09KE development board OTA stub server

The development board must use the OTA service program. ST provides three programs with OTA services: BLE_ApplicationInstallManager, BLE_p2pServer_ota, and BLE_HeartRate_ota.

Use the development tool to burn to the development board

3. OTA service establishment procedure

(1) Establish a pairing

(2) Pairing successful

(3) Upgrade settings

(4) Enter OTA upgrade service

(5) Upload OTA program, BLE_p2pServer_ota.bin program

(6) After the upgrade process is successful

(7) After completion, the program will have the BLE_p2pServer_ota program with OTA function.

(8) After connecting and pairing, you can use this page to test

(9) Test program

4. Test photos

Ligth ON Light is on

Ligth OFF Light off

5. Summary

OTA program services As long as OTA is available, you can use OTA services.

keil.png (104.39 KB, downloads: 0)

keil.png

wbaapp9.png (52.15 KB, downloads: 0)

wbaapp9.png
This post is from RF/Wirelessly

Latest reply

It's great that it can be upgraded via the web. It's easy to upgrade via the web over WiFi, but it's the first time I've seen BLE upgraded via the web.   Details Published on 2024-10-23 09:02
 

2865

Posts

4

Resources
2
 

I feel that the security of OTA applications needs to be improved

This post is from RF/Wirelessly
 
 

3

Posts

0

Resources
3
 

Thank you, I learned a lot.

This post is from RF/Wirelessly
 
 
 

6742

Posts

2

Resources
4
 

Can it be upgraded via OTA via mobile phone?

This post is from RF/Wirelessly

Comments

Yes, you can use ST's tool software or a higher version of the web page. This is more convenient  Details Published on 2024-10-23 09:02
Yes, you can use ST's tool software or a higher version of the web page. This is more convenient  Details Published on 2024-10-22 09:54
 
 
 

2865

Posts

4

Resources
5
 
wangerxian posted on 2024-10-22 09:07 Can I upgrade it OTA through my phone?

Yes, you can use ST's tool software or a higher version of the web page. This is more convenient

This post is from RF/Wirelessly
 
 
 

6742

Posts

2

Resources
6
 
wangerxian posted on 2024-10-22 09:07 Can I upgrade it OTA through my phone?

It's great that it can be upgraded via the web. It's easy to upgrade via the web over WiFi, but it's the first time I've seen BLE upgraded via the web.

This post is from RF/Wirelessly
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

快速回复 返回顶部 Return list