-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different binary data representation when sending data through MQTT and HTTP #690
Comments
Hi @mapedraza , I have tried to reproduce the issue in following manner: Get entity data from Orion: Case 2: Send measure using HTTP protocol, ASCII code of letters is stored. Get entity data from Orion: I have understood that data is stored differently for MQTT and HTTP. |
Hi @MadhuNEC your understanding is right and the steps reproduce well this issue. After some internal discussion, the expected behaviour for sending HTTP data should be the same that when sending the data through MQTT. This means a hexstring for both of them (I.E: |
Hi @mapedraza and @fgalan. A gentle reminder. Please review the PR raised for this issue. |
@fgalan yes, this issue is solved with PR you mention. Thus, I close it. |
When sending data using HTTP or MQTT, the data stored in the IoT Agent differs.
MQTT
HTTP
How to reproduce it
When provisioning a device like this:
If sending data through MQTT like this:
The result on the entity attribute is correct:
But, when sending data through HTTP:
The result obtained is the following
The text was updated successfully, but these errors were encountered: