Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument "qos_count" is missing, with no default #7

Open
vanhry opened this issue May 30, 2022 · 0 comments
Open

Argument "qos_count" is missing, with no default #7

vanhry opened this issue May 30, 2022 · 0 comments

Comments

@vanhry
Copy link

vanhry commented May 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant