Skip to content

Commit

Permalink
update tables
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed Mar 4, 2024
1 parent c85b906 commit df3d5b1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
14 changes: 7 additions & 7 deletions cddl/eat-plug.cddl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$mc-cbor = bstr .cbor measured-component
$mc-json = tstr .json measured-component
mc-cbor = bstr .cbor measured-component
mc-json = tstr .json measured-component

EAT CBOR (`.feature "cbor"`)
$measurements-body-cbor /= $mc-cbor ; native
$measurements-body-cbor /= tstr .b64u $mc-json ; tunnel
; EAT CBOR (`.feature "cbor"`)
$measurements-body-cbor /= mc-cbor ; native
$measurements-body-cbor /= tstr .b64u mc-json ; tunnel

; EAT JSON (`.feature "json"`)
$measurements-body-json /= $mc-json ; native
$measurements-body-json /= tstr .b64u $mc-cbor ; tunnel
$measurements-body-json /= mc-json ; native
$measurements-body-json /= tstr .b64u mc-cbor ; tunnel
12 changes: 6 additions & 6 deletions draft-fft-rats-eat-measured-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ The CDDL extending the EAT Measurements format:

| `content-type` (CoAP C-F equivalent) | `content-format` |
|--|--|
| `application/measured-component+cbor` | `bytes .cbor measured-component` |
| `application/measured-component+json` | `text .b64u measured-component` |
| `application/measured-component+cbor` | `mc-cbor` |
| `application/measured-component+json` | `tstr .b64u mc-json` |

### JWT

| `content-type` (CoAP C-F equivalent) | `content-format` |
|--|--|
| `application/measured-component+json` | `text .json measured-component` |
| `application/measured-component+cbor` | `text .b64u measured-component` |
| `application/measured-component+json` | `mc-json` |
| `application/measured-component+cbor` | `tstr .b64u mc-cbor` |

# Examples

Expand Down Expand Up @@ -283,7 +283,7 @@ The list of currently open issues for this documents can be found at [](https://
{:numbered="false"}

The authors would like to thank
TBD
for their comments, reviews and suggestions.
Carsten Bormann
for comments, reviews and suggestions.

[^rfced]: RFC Editor:
12 changes: 6 additions & 6 deletions materials/ietf-119.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,23 +80,23 @@ measured-component = [
CBOR & JSON serialisations

```
$mc-cbor = bstr .cbor measured-component
$mc-json = tstr .json measured-component
mc-cbor = bstr .cbor measured-component
mc-json = tstr .json measured-component
```

EAT CBOR (`.feature "cbor"`)

```
$measurements-body-cbor /= $mc-cbor ; native
$measurements-body-cbor /= tstr .b64u $mc-json ; tunnel
$measurements-body-cbor /= mc-cbor ; native
$measurements-body-cbor /= tstr .b64u mc-json ; tunnel
```

EAT JSON (`.feature "json"`)

```
$measurements-body-json /= $mc-json ; native
$measurements-body-json /= tstr .b64u $mc-cbor ; tunnel
$measurements-body-json /= mc-json ; native
$measurements-body-json /= tstr .b64u mc-cbor ; tunnel
```

---
Expand Down

0 comments on commit df3d5b1

Please sign in to comment.