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

MQTT connect with an empty username should have the proper header #130

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

flavio-fernandes
Copy link
Contributor

Connect needs to distinguish None from an empty string when populating and sending CONNECT to the MQTT broker.

Fixes #129

Signed-off-by: Flavio Fernandes flavio@flaviof.com

Connect needs to distinguish None from an empty string when
populating and sending CONNECT to the MQTT broker.

Fixes adafruit#129

Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
@flavio-fernandes
Copy link
Contributor Author

@dhalbert @brentru PTAL

@brentru brentru self-requested a review November 21, 2022 16:24
Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me and addresses the core issue.

@tekktrik tekktrik merged commit 35cab6f into adafruit:main Dec 5, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 8, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_Nunchuk to 1.1.7 from 1.1.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_Nunchuk#32 from tekktrik/doc/fix-typing
  > Add .venv to .gitignore
  > Update .pylintrc for v2.15.5
  > Fix release CI files
  > Update pylint to 2.15.5
  > Updated pylint version to 2.13.0
  > Switching to composite actions

Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 7.0.2 from 6.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#132 from vladak/wait_for_msg_cleanup
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#130 from flavio-fernandes/username_fix
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#121 from tekktrik/dev/kw-init
  > Add .venv to .gitignore

Updating https://github.com/adafruit/Adafruit_CircuitPython_Register to 1.9.15 from 1.9.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_Register#49 from tekktrik/fix/pinned-typing
  > Add .venv to .gitignore
  > Update .pylintrc for v2.15.5
  > Fix release CI files
  > Update pylint to 2.15.5
  > Updated pylint version to 2.13.0
  > Switching to composite actions

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
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

Successfully merging this pull request may close these issues.

adafruit_minimqtt connect is not consistent when checking username
3 participants