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
When I try to connect with MQTT on my C# program and then want to read on the topic "application/123/device/+/event/up and parse the received bytes as UTF-8 string and then parse it with the google protobuf parser, then I get the following exception:
Google.Protobuf.InvalidProtocolBufferException: Invalid base64 data
---> System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
It happens on this field: gw.UplinkRXInfo.uplink_id with this data: d902040a-4859-41e3-aacc-a3f79de22e12
When serializing the UplinkEvent in the application server it should parse it as base64 OR make gw.UplinkRXInfo.uplink_id a string:
In gw.proto: string uplink_id = 16 [json_name = "uplinkID"];
The text was updated successfully, but these errors were encountered:
What happened?
When I try to connect with MQTT on my C# program and then want to read on the topic
"application/123/device/+/event/up
and parse the received bytes as UTF-8 string and then parse it with the google protobuf parser, then I get the following exception:It happens on this field:
gw.UplinkRXInfo.uplink_id
with this data:d902040a-4859-41e3-aacc-a3f79de22e12
Steps to reproduce this issue
C# example:
Steps to solve it:
When serializing the UplinkEvent in the application server it should parse it as base64 OR make gw.UplinkRXInfo.uplink_id a string:
In gw.proto:
string uplink_id = 16 [json_name = "uplinkID"];
The text was updated successfully, but these errors were encountered: