Skip to content

Commit 3088b54

Browse files
[NXP][examples][k32w0] Add OTA encryption info in contact sensor README
Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
1 parent a4474e3 commit 3088b54

File tree

1 file changed

+7
-4
lines changed
  • examples/contact-sensor-app/nxp/k32w0

1 file changed

+7
-4
lines changed

examples/contact-sensor-app/nxp/k32w0/README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,10 @@ Note that the application needs to be built using the `chip_enable_ota_requestor
611611
This is enabled in the configuration by default if no `chip_enable_ota_requestor` explicit setting
612612
is done.
613613

614+
Please also note that, by default, the device expects the OTA image
615+
to be encrypted with the same key specified by `chip_with_ota_key`.
616+
See `args.gni` for the default gn configuration.
617+
614618
### OTA Testing
615619

616620
The OTA topology used for OTA testing is illustrated in the figure below.
@@ -701,10 +705,9 @@ Here is an example that generates an OTA image with application update TLV:
701705
./scripts/tools/nxp/ota/ota_image_tool.py create -v 0xDEAD -p 0xBEEF -vn 2 -vs "2.0" -da sha256 --enc_enable --input_ota_key "1234567890ABCDEFA1B2C3D4E5F6F1B4" --app-input-file chip-k32w0x-contact-example.bin chip-k32w0x-contact-example.ota
702706
```
703707

704-
Please note the two options `--enc_enable` and `--input_ota_key`, which are
705-
mandatory when `chip_with_ota_encryption=1`. The value of `--input_ota_key` must
706-
match the value of `chip_with_ota_key`. See `args.gni` for the default gn
707-
configuration.
708+
Please note the two options `--enc_enable` and `--input_ota_key`,
709+
which are mandatory when `chip_with_ota_encryption=1`. The value
710+
of `--input_ota_key` must match the value of `chip_with_ota_key`.
708711

709712
A note regarding OTA image header version (`-vn` option). An application binary
710713
has its own software version, given by

0 commit comments

Comments
 (0)