VSChina / ESP32_AzureIoT_Arduino

The library for ESP32 Azure IoT for Arduino
MIT License
37 stars 43 forks source link

MessageCallback never called? #10

Closed dtboy1995 closed 6 years ago

dtboy1995 commented 6 years ago

board: esp32 dev module

i use nodejs azure iot hub api to send message to esp32 but MessageCallback never called?

below logs

ESP32 Device
Initializing...
 > WiFi
Connecting...
..WiFi connected
IP address: 
192.168.1.160
 > IoT Hub
Info: Initializing SNTP

Info: SNTP initialization complete

Info: IoT Hub SDK for C, version 1.1.23

Info: >>>Connection status: connected

Info: >>>Received Message [0], Size=25 Message {"hello":"lynky 6666666"}

1

Everytime I reboot the program, it print a message from nodejs, but not from the MessageCallback tip: in nodejs i start a some connectionString client to test it , it can receive message

Any help is greatly appreciated!

dtboy1995 commented 6 years ago

I am sorry, I did not call the Esp32MQTTClient_Check method, very sorry.