mqtt
mqtt copied to clipboard
Argument "qos_count" is missing, with no default
Hello!
I've used your library before and it works great, now I am using another broker, and I'm receiving this error
Error in .svr$loop(timeout, max_packets) : Evaluation error: argument "qos_count" is missing, with no default.
My code
mqtt_broker(host = .host_whisper, port = .port_whisper,client_id = "u1231") %>%
mqtt_username_pw(username = .username,
password = .pass) %>%
mqtt::mqtt_subscribe(topic=.topic,
callback = sensor) %>%
mqtt_run() -> res
When I run in console everything works fine:
mosquitto_sub -h myhost -p myport -u username -P password -t /topic