We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c91f0 commit 1343977Copy full SHA for 1343977
fullstack/freertos-wolfip-wolfmqtt/README.md
@@ -66,6 +66,27 @@ sudo ./freertos_sim
66
```
67
68
### Testing
69
+
70
+#### Configure Mosquitto Broker
71
+1. Create a mosquitto configuration file:
72
+```bash
73
+sudo tee /etc/mosquitto/conf.d/tls.conf << EOF
74
+listener 8883 10.10.0.1
75
+cafile ../../../wolfssl/certs/ca-cert.pem
76
+certfile ../../../wolfssl/certs/server-cert.pem
77
+keyfile ../../../wolfssl/certs/server-key.pem
78
+tls_version tlsv1.3
79
+require_certificate true
80
+use_identity_as_username true
81
+EOF
82
+```
83
84
+2. Start mosquitto on the TAP interface:
85
86
+sudo mosquitto -c /etc/mosquitto/conf.d/tls.conf
87
88
89
+#### Test MQTT Client
90
Test the MQTT client using the provided script:
91
```bash
92
sudo ./test_mqtt.sh
0 commit comments