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

Call publish with QoS 2 but broker receive with 1. #48

Open
marcosdxt opened this issue Apr 4, 2022 · 1 comment
Open

Call publish with QoS 2 but broker receive with 1. #48

marcosdxt opened this issue Apr 4, 2022 · 1 comment
Labels

Comments

@marcosdxt
Copy link

Hello Fellas!

In my current project, I'm using this call:

        await this.mqtt_client.publish(topic,JSON.stringify(message),{
            qos: 2,
            retain: false,
            dup: false,
            
        });        

But received message on broker has QoS 1, what's is wrong in my use?

@RangerMauve
Copy link
Contributor

The options get passed down to the regular mqtt.publish command.

Does the QOS work properly when you use that module directly in a test file?

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

No branches or pull requests

2 participants