xamarin / mini-hacks

Complete four mini-hacks during Evolve and get a prize.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transport failed processing the message received (error = 394)

shirshankdeepankar opened this issue · comments

Hello , I am trying to send message from SmartCoffee app (android) and receive it on Raspberry Pi using 'azure-iot-sdk-python'.
Call to SendMessageToDevice function is successful (no exception message on output windows also) but the receiver throws error in C Code.

Error: Time:Sat Feb 18 09:33:03 2017 File:/home/pi/azure-iot-sdk-python/c/iothub_client/src/iothubtransport_amqp_common.c Func:on_message_received Line:342 Transport failed processing the message received (error = 394).

Source File : https://github.com/Azure/azure-iot-sdk-c/blob/master/iothub_client/src/iothubtransport_amqp_common.c

Receiver on Raspberry Pi is working perfectly when message sent using DeviceExplorer tool.
Have tried to change the message encoding from UTF8 to ASCII (as done in DeviceExplorer) without success.

Could you please help me in resolving the issue.

Thanks in advance.
Shirshank Deepankar