You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cannot subscribe to topics with ProtoBuf payloads as both the _on_message and _on_message_list callbacks within MQTTKeywords.py return the payload decoded to utf-8, with the .decode('utf-8').
With ProtoBuf messages, since they are simply raw bytes which are able to contain bytes that cannot be decoded to utf-8, the decode fails and an error message like the following is received: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 63: invalid start byte
Is there any plans to allow ProtoBuf payloads?
The text was updated successfully, but these errors were encountered:
I cannot subscribe to topics with ProtoBuf payloads as both the
_on_message
and_on_message_list
callbacks within MQTTKeywords.py return the payload decoded to utf-8, with the.decode('utf-8')
.With ProtoBuf messages, since they are simply raw bytes which are able to contain bytes that cannot be decoded to utf-8, the decode fails and an error message like the following is received:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x97 in position 63: invalid start byte
Is there any plans to allow ProtoBuf payloads?
The text was updated successfully, but these errors were encountered: