foundriesio / zmp-manifest

West manifest for Zephyr microPlatform
Apache License 2.0
2 stars 5 forks source link

zephyr microplatform query #17

Open nkaramolegos opened 5 years ago

nkaramolegos commented 5 years ago

I am checking the Zephyr microPlatform. I can not understand how the FOTA is working. Should the end device be connected with the internet or it can be upgraded using the existing communication protocol (e.g 802.15.4)?

EmbeddedAndroid commented 5 years ago

The FOTA references contained in this project require either a cellular connection on the Zephyr device or a border router running 802.15.4/BLE/6LowPan services which it is connected to.

It does not require the "internet" per say, but rather a routable IP connection to fetch firmware from.

Have you had a chance to read our documentation on this subject? https://docs.foundries.io/latest/tutorial/basic-system.html

nkaramolegos commented 5 years ago

I will. Therefore, what is the code of the border router? Also, how the firmware updates are working? Can I change the entire firmware of the device with a complete new one? In other words, can I change the binary or just the parameters' configuration?

EmbeddedAndroid commented 5 years ago

The border router services act as a proxy to the "internet" or another network. It connects to the Zephyr devices, and gives it a routeable network. The documentation hopefully should give you more details about what is used in the border router configuration.

The update is a full update, so the Zephyr microkernel and application. The only thing that is not updated is the bootloader, mcuboot.