Hello I'm trying to using moquitto MQTT broker with SIM7000C cellular module,
But it has problem in mqtt publish. when i run the arduino, i can checked until connect to mqtt request but if i send the data to mqtt topic, it's not working. I can get only "Failed to send" answer to arduino.
(Finally the structure that i want to connect to node-red, mosquitto and arduino)
I connect mosquitto mqtt broker and SIM7000C with my phone tedering external ip address(but it also has a problem, i need to connect 1883port but external ip connect with node-red)
how can i solve the problem?
i already written in mosquitto.conf
- allow_anonymous true
- username, password
according to SIM7000C information
SIM7000C AT COMMANDS
SIM7000C MQTT AT COMMANDS