diff --git a/CHANGELOG.md b/CHANGELOG.md index b88dce5..80de674 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/). ## [Unreleased] +### Changed +- in responses, device_status and response_code are now unpacked as two separate bytes +- data with bytecount of 2 has status only, and now returns immediately + ## [2022.8.2] ### Fixed diff --git a/README.md b/README.md index 142e7fe..f185dc3 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,8 @@ Generic Response | `command_name` | `` | | `data` | `` | | `full_response` | `` | -| `status` | `` | +| `device_status` | `` | +| `response_code` | `` | You can parse the raw `data` according to the particulars of your peripheral. Certain standard responses are parsed further as shown below. @@ -109,7 +110,7 @@ Response 0 | `number_response_preamble_charachters` | `` | | `software_revision_level` | `` | | `transmitter_specific_command_revision_level` | `` | -| `universal_command_revision_level | `` | +| `universal_command_revision_level` | `` | Response 1 | key | value | @@ -130,7 +131,9 @@ Response 11 | `number_response_preamble_charachters` | `` | | `software_revision_level` | `` | | `transmitter_specific_command_revision_level` | `` | -| `universal_command_revision_level | `` | +| `universal_command_revision_level` | `` | + +Many other universal and common responses are also parsed..., give it a try! ## Integration Example