[INFO - BaseMQTT]: MQTT broker found at: 192.168.0.242:1883
[INFO - BaseMQTT]: Broker 192.168.0.242:1883
{
"mqtt": {
"enabled": true,
"server": "192.168.0.242",
"port": 1883,
"id_name": "LEDController",
"reconnect_mqtt": false,
"reconnect_retires": 10,
"reconnect_time_ms": 10000,
"enable_user_and_pass": false,
"user_name": "",
"user_password": "",
"enable_certificates": false,
"ca_file": "",
"cert_file": "",
"key_file": "",
"enable_websockets": false,
"websocket_path": "",
"mqtt_task_stack_size": 7168,
"pub_topic": [],
"sub_topic": [
"device/report"
]
}
}
[INFO - BaseMQTT]: MQTT Server: 192.168.0.242
[ 4646][I][MQTTClient.cpp:670] addTopicSub(): [MQTTClient] Adding topic device/report to the subTopics list
[ 4651][W][MQTTClient.cpp:699] addTopicSub(): [MQTTClient] MQTT client not connected, topic device/report will be subscribed when connected
[ 4664][I][MQTTClient.cpp:153] setup(): [MQTTClient] Connecting to broker: mqtt://192.168.0.242:1883
[ 4672][W][MQTTClient.cpp:197] setup(): [MQTTClient] [APP] Free memory: 261928 bytes
E (4441) MQTT_CLIENT: Error create mqtt task
Not exactly sure what the issue is. I have confirmed that the broker is online and functioning and even tested PubSubClient as a control, it worked fine.
Any advise is appreciated. It seems that the MQTT task is failing.
[INFO - BaseMQTT]: MQTT broker found at: 192.168.0.242:1883 [INFO - BaseMQTT]: Broker 192.168.0.242:1883 { "mqtt": { "enabled": true, "server": "192.168.0.242", "port": 1883, "id_name": "LEDController", "reconnect_mqtt": false, "reconnect_retires": 10, "reconnect_time_ms": 10000, "enable_user_and_pass": false, "user_name": "", "user_password": "", "enable_certificates": false, "ca_file": "", "cert_file": "", "key_file": "", "enable_websockets": false, "websocket_path": "", "mqtt_task_stack_size": 7168, "pub_topic": [], "sub_topic": [ "device/report" ] } } [INFO - BaseMQTT]: MQTT Server: 192.168.0.242 [ 4646][I][MQTTClient.cpp:670] addTopicSub(): [MQTTClient] Adding topic device/report to the subTopics list [ 4651][W][MQTTClient.cpp:699] addTopicSub(): [MQTTClient] MQTT client not connected, topic device/report will be subscribed when connected [ 4664][I][MQTTClient.cpp:153] setup(): [MQTTClient] Connecting to broker: mqtt://192.168.0.242:1883 [ 4672][W][MQTTClient.cpp:197] setup(): [MQTTClient] [APP] Free memory: 261928 bytes E (4441) MQTT_CLIENT: Error create mqtt taskNot exactly sure what the issue is. I have confirmed that the broker is online and functioning and even tested
PubSubClientas a control, it worked fine.Any advise is appreciated. It seems that the MQTT task is failing.