Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] org.eclipse.paho.mqtt.embedded-c.git

Hi,

I use paho mqtt embedded for publish message for azure iot hub.

I compile source with visual studio 2008 ,ARM G45 architecture.

I use the following configuration :

Main file : qos0pub.c

 

char *host = "TestAcoemIotHub.azure-devices.net";

//int port = 1883;

int port = 5671;

data.clientID.cstring = "DeviceAcoem";

data.keepAliveInterval = 20;

data.cleansession = 1;

data.username.cstring = "TestAcoemIotHub.azure-devices.net/DeviceAcoem";

  data.password.cstring = "SharedAccessSignature sr=TestAcoemIotHub.azure-devices.net%2fdevices%2fDeviceAcoem&sig=XXXXXXXEgyP2%2bH0H1WKx2rJBOZAEDqMA4uHT5AFJ8%3d&se=1498744862";

data.MQTTVersion = 3;

topicString.cstring = "DeviceAcoem";

 

I have a successfully published message but no iot message received in the azure dashboard.

 

Thanks for your reply

 

Dominique LUBAC

 


Back to the top