I am using ESP-WROOM-32 (DOIT ESP32 DEVKITV1)
I active ZgatewayBT and ZsensorGPIOInput.
I found the following error message in Serial Monitor.
[E][WiFiClient.cpp:258] connect(): socket error on fd 58, errno: 113, “Software caused connection abort”
Can anyone sharing me on how to resolve this?
I also found the similar issue on the github. But, I don’t know if any fix on this.
I follow the steps.:
-download VScode
-install platformio extension from VScode
-download OpenMQTTGateway code
-with VScode open the folder OpenMQTTGateway
-update user_config.h
-upload
- PlatformIO.INI
build_flags =
${com-esp.build_flags}
‘-DZgatewayBT=“BT”’
‘-DjsonPublishing=true’
‘-DjsonReceiving=true’
‘-DGateway_Name=“OpenMQTTGateway_ESP32_BLE”’
‘-DScan_duration=2000’
‘-DAttemptBLECOnnect=true’
‘-DActiveBLEScan=true’
‘-Dwifi_ssid=“XXX”’
‘-Dwifi_password=“XXXXXX”’
‘-DTRACE=1’
Messgate output:
T: OpenMQTTGateway ip: 192.168.2.27
T: Port: 1883
T: Mqtt server: 192.168.2.47
N: BLE scans interval: 55555
N: BLE scans number before connect: 10
N: Publishing only BLE sensors: false
N: minrssi: 100
N: Low Power Mode: 0
T: ZgatewayBT multicore ESP32 setup done
N: Reading GPIO at pin: 13
T: mqtt_max_packet_size: 2560
N: OpenMQTTGateway modules: [“BT”,“GPIOInput”]
N: ************** Setup OpenMQTTGateway end **************
W: MQTT connection…
W: MQTT client disconnected no BLE scan
[E][WiFiClient.cpp:258] connect(): socket error on fd 57, errno: 113, “Software caused connection abort”
W: failure_number_mqtt: 1
W: failed, rc=-2
W: MQTT connection…
[E][WiFiClient.cpp:258] connect(): socket error on fd 58, errno: 113, “Software caused connection abort”
W: failure_number_mqtt: 2