How to setup OTA Server and OTA Client on WSTK+4151 radio boards?
Here are some instruction about how to setup an OTA Server and OTA Client by WSTK+4151 radio boards. The intention of this article is to setup an OTA Server and OTA Client quickly. We are using the v5.10 EmberZnet stack to do the test. More information please refer to AN728OTAClientServerSetup.
In this testing, OTA Server works in NCP mode, we use WSTK+4151 radio board as NCP, and build the Host by Cygwin in Windows OS. The OTA file is storage at Host side. The OTA Client works in SOC mode, it downloads the OTA file to external SPI flash after detect a newer image in OTA Server.
Firstly, download standalone Bootloader: serial-uart-bootloader.s37 and NCP firmware: ncp-uart-rts-cts-use-with-serial-uart-btl-5.10.0.s37 to a WSTK kit.
Then create the Host: Z3GatewayHost as follows:
Secondly, flash the Bootloader: app-bootloader-spiflash.s37 to the WSTK kit. Then create an application as OTA Client.