AMQP Azure : receiver and sender functions.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

I'm currently working with Azure Iot hub and amqp v1.0 protocol on Wiced 6.1.

I have two questions concerning emission and reception frames.

1 - When I send a message I obtain special characters on Azure even if the message is empty (see below) :

(#define AMQP_MESSAGE_STR                "HELLO WICED")

One special character if the frameis empty = #define AMQP_MESSAGE_STR                ""

two special characters if the frame is not empty (with a json frame) =  #define AMQP_MESSAGE_STR                "Json frame"

pastedImage_0.png

what should I do to remove them ?

2 - When I receive a message but it is an empty frame (I added some modifications to use the demo with a receiver link):

WICED_AMQP_EVENT_TRANSFER_RCVD works but data is empty.

Can you help me ?

1 Solution
Anonymous
Not applicable

The problem is in the performative "AMQP Value" , I hope this probleme will be resolved in a next version.

To workarround, you can use the performative "Application data" by replacing 0x77 by 0x75 inAMQP_transfert.c line 290.

View solution in original post

7 Replies