working send/receive to the broker
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
# MQTT Implementation Notes
|
||||
|
||||
* WiFi connection runs in a separate task with auto-reconnect functionality
|
||||
* Network stack operates in a dedicated packet processing task
|
||||
* MQTT uses TCP socket connection (MqttClient wraps this socket)
|
||||
* ClientConfig specifies: MQTT version, QoS levels, client ID
|
||||
* Standard flow: connect_to_broker() → send_message() or subscribe()
|
||||
|
||||
## Implementation:
|
||||
1. Perform DNS lookup for broker hostname
|
||||
2. Establish TCP socket connection
|
||||
3. Create MqttClient with configuration
|
||||
4. Implement connect, publish, and subscribe logic
|
||||
Reference in New Issue
Block a user