Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(message): improve debug log for send and received msg with attr… (
#294) 1. print all attributes and value to debug log in send and received msg 2. update message_type to the expected type and not the value 3. add self object to debug log 4. add `_format_attribute` func to format all the bytes/bytearray attributes. 5. add `get_key_from_value` in `MessageType` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a method to retrieve keys from integer values in message types, enhancing user interaction with message classifications. - Added a formatting method for message attributes, improving the representation of various data types, including hexadecimal conversion for byte values. - **Improvements** - Enhanced the string representation of message requests for better clarity and usability, making it easier for users to understand message details. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information