Skip to content

Commit

Permalink
CHESTER: How to CBOR: Update msg_key.h autogeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
hubmartin authored Apr 8, 2024
1 parent 5e865ca commit e26c116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chester/firmware-sdk/how-to-cbor.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To use **CBOR** with **CHESTER** you need to:

- Create a `codec\cbor-decoder.yaml` file in your application folder that describes the JSON attributes.
- Upload the YAML file to the **HARDWARIO Cloud** using `hardwario cloud` [CLI tool](../developer-tools/command-line-tools.md#cloud-codec-commands).
- Generate a `msg_key.h` definition header file using `chester/scripts/gen-msg-key.py` script.
- Header file `msg_key.h` is automatically generated when `west build` is called.
- Use these definitions in `app_cbor.c` and add the needed data.

:::info
Expand Down

0 comments on commit e26c116

Please sign in to comment.