NordicPlayground / nRF51-ble-bcast-mesh

Other
323 stars 121 forks source link

OTA for mesh nodes #180

Open edwardcchan opened 7 years ago

edwardcchan commented 7 years ago

I would like to know the procedures for OTA update for the mesh node. Shall I flash all the blank nodes with the procedures you stated in the DFU update as the basis? Thanks

trond-snekvik commented 7 years ago

Yes. All devices needs a Softdevice, a bootloader, a device page, and optionally an application. Have you tried following the steps in the Quick start guide?

edwardcchan commented 7 years ago

I have tried to follow the Quick Start Guide. I have faced the following problems:


  1. When I tried to use to run the nrfutil.exe within the pc-util folder, I got error message

"failed to create process."

I have no clue on what it means.


  1. So I used the nrfutil.exe installed by python pip to try Step 10:

.\pc-util\nrfutil dfu genpkg --application ../examples/BLE_Gateway/bin/rbc_gateway_example_serial_blinky_PCA10028_nRF51422_xxAC.hex --company-id 0x00000059 --application-id 1 --application-version 2 --key-file private.txt --sd-req 0x0064 --mesh dfu_test.zip

However, nrfutil complained that some arguments are not available, for example,

Error: no such option: --mesh


Thanks for your attention.