Skip to content

Commit

Permalink
Restyled by prettier-markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jan 19, 2022
1 parent 637690e commit 380477b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 5 additions & 4 deletions examples/ota-requestor-app/efr32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ See `examples/lighting-app/efr32/README.md`

commander gbl create chip-efr32-ota-requestor-example.gbl --app chip-efr32-ota-requestor-example.s37

- In a terminal start the provider app passing to it the path to the bootable image
file created in the previous step:
- In a terminal start the provider app passing to it the path to the bootable
image file created in the previous step:

./out/debug/chip-ota-provider-app -f chip-efr32-ota-requestor-example.gbl

Expand All @@ -105,5 +105,6 @@ where operationalDataset is obtained from the Open Thread Border Router.

./out/chip-tool otasoftwareupdaterequestor announce-ota-provider 1 0 0 0 2 0

- The Requestor will connect to the Provider and start the image download. Once the image is downloaded
the Requestor will reboot into the downloaded image.
- The Requestor will connect to the Provider and start the image download.
Once the image is downloaded the Requestor will reboot into the downloaded
image.
8 changes: 7 additions & 1 deletion examples/ota-requestor-app/linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,21 @@ In terminal 2:

## Note

When the Provider, Requestor and chip-tool are run on the same Linux node the user must issue `rm -r /tmp/chip_*` before starting the Provider and `rm /tmp/chip_kvs` before starting the Requestor. These commands reset the shared Key Value Store to a consistent state.
When the Provider, Requestor and chip-tool are run on the same Linux node the
user must issue `rm -r /tmp/chip_*` before starting the Provider and
`rm /tmp/chip_kvs` before starting the Requestor. These commands reset the
shared Key Value Store to a consistent state.

## Example

Building:

```
scripts/examples/gn_build_example.sh examples/chip-tool out/ chip_config_network_layer_ble=false && scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug chip_config_network_layer_ble=false && scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false
```

Running (in separate terminals as described above):

```
rm -r /tmp/chip_*
./out/debug/chip-ota-provider-app -f /tmp/ota.txt
Expand All @@ -82,6 +87,7 @@ rm /tmp/chip_kvs
./out/chip-tool pairing onnetwork-long 2 20202021 42
./out/chip-tool otasoftwareupdaterequestor announce-ota-provider 1 0 0 0 2 0
```

## Current Features / Limitations

### Features
Expand Down

0 comments on commit 380477b

Please sign in to comment.