Github Upload Boards Devices Community Docs Blog

Support for Heltec ESP32 Lora boards

I tried running lora gateway on Heltec Wireless stick but it fails to initialize wifi. Is there any way to make it work. Below is the log

14:51:33.979 -> N:
14:51:33.979 -> ************* WELCOME TO OpenMQTTGateway **************
14:51:34.210 -> {“mqtt_server”:“192.168.1.17”,“mqtt_port”:“1883”,“mqtt_user”:“your_username”,“mqtt_pass”:“your_password”,“mqtt_topic”:“home/”,“gateway_name”:“OpenMQTTGateway”}*WM: [3] allocating params bytes: 20
14:51:34.210 -> *WM: [2] Added Parameter: server
14:51:34.210 -> *WM: [2] Added Parameter: port
14:51:34.210 -> *WM: [2] Added Parameter: user
14:51:34.256 -> *WM: [2] Added Parameter: pass
14:51:34.256 -> *WM: [2] Added Parameter: name
14:51:34.256 -> *WM: [3] Updated _max_params: 10
14:51:34.256 -> *WM: [3] re-allocating params bytes: 40
14:51:34.256 -> *WM: [2] Added Parameter: topic
14:51:34.256 -> N: Attempting Wifi connection with saved AP: 0
14:51:34.763 -> N: Attempting Wifi connection with saved AP: 1
14:51:35.271 -> {“mqtt_server”:“192.168.1.17”,“mqtt_port”:“1883”,“mqtt_user”:“your_username”,“mqtt_pass”:“your_password”,“mqtt_topic”:“home/”,“gateway_name”:“OpenMQTTGateway”}N: LORA_SCK: 5
14:51:36.793 -> N: LORA_MISO: 19
14:51:36.793 -> N: LORA_MOSI: 27
14:51:36.793 -> N: LORA_SS: 18
14:51:36.793 -> N: LORA_RST: 14
14:51:36.793 -> N: LORA_DI0: 26
14:51:36.793 -> N: Setup OpenMQTTGateway end
14:51:36.793 -> W: MQTT connection…
14:51:55.059 -> W: failure_number_mqtt: 1
14:51:55.059 -> W: failed, rc=-2
14:52:00.041 -> W: disconnection_handling, failed 1 times
14:52:00.041 -> W: Attempt to reinit wifi: 0
14:52:00.087 -> W: MQTT connection…
14:52:18.585 -> W: failure_number_mqtt: 2
14:52:18.585 -> W: failed, rc=-2
14:52:23.567 -> W: disconnection_handling, failed 2 times
14:52:23.567 -> W: Attempt to reinit wifi: 0
14:52:23.613 -> W: MQTT connection…
14:52:42.110 -> W: failure_number_mqtt: 3
14:52:42.110 -> W: failed, rc=-2
14:52:47.092 -> W: disconnection_handling, failed 3 times
14:52:47.092 -> W: Attempt to reinit wifi: 0
14:52:47.092 -> W: MQTT connection…
14:53:05.635 -> W: failure_number_mqtt: 4
14:53:05.635 -> W: failed, rc=-2
14:53:10.617 -> W: disconnection_handling, failed 4 times
14:53:10.617 -> W: Attempt to reinit wifi: 0
14:53:10.617 -> W: MQTT connection…
14:53:29.161 -> W: failure_number_mqtt: 5
14:53:29.161 -> W: failed, rc=-2
14:53:34.142 -> W: disconnection_handling, failed 5 times
14:53:34.142 -> W: Attempt to reinit wifi: 0
14:53:34.142 -> W: MQTT connection…
14:53:52.686 -> W: failure_number_mqtt: 6
14:53:52.686 -> W: failed, rc=-2
14:53:57.668 -> W: disconnection_handling, failed 6 times
14:53:57.668 -> W: Attempt to reinit wifi: 0
14:53:57.668 -> W: MQTT connection…
14:54:16.211 -> W: failure_number_mqtt: 7
14:54:16.211 -> W: failed, rc=-2
14:54:21.193 -> W: disconnection_handling, failed 7 times
14:54:21.193 -> W: Attempt to reinit wifi: 0
14:54:21.193 -> W: MQTT connection…
14:54:39.736 -> W: failure_number_mqtt: 8
14:54:39.736 -> W: failed, rc=-2
14:54:44.718 -> W: disconnection_handling, failed 8 times
14:54:44.718 -> W: Attempt to reinit wifi: 0
14:54:44.718 -> W: MQTT connection…