mqtt icon indicating copy to clipboard operation
mqtt copied to clipboard

Argument "qos_count" is missing, with no default

Open vanhry opened this issue 2 years ago • 0 comments

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

vanhry avatar May 30 '22 12:05 vanhry