Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@nytelife26
Latest commit 9ed69f0 Mar 13, 2024 History
* chore: relocate py broker

* lint: apply ruff format

* fix: update module references

* feat(broker): add base mqtt packets

* chore(broker): add package init

* chore(broker): move broker -> cpp-broker to resolve module conflict

* chore(broker): make py-broker main broker

* style(broker): variable_header -> var_header

* ci(ruff): remove COM812 warning

Note that ruff's format feature does this already, so the check rule can be ignored.

* feat: add base and websocket adaptors

* feat: add stream adaptors

* Works... just not on the included hivemq instance, returns bad cred error

* Ignore last, THE BLEEDIN' CONNECT FUNCTION IS BROKEN.
Turns out the res code 4 is for non conn OR bad cred...
I hate contextual res codes

* Commiting so I can switch Branches

* feat: implement buffer backport

* feat: add codec helpers

* feat: add to_stream and from_stream for packet

Co-authored-by: Bertie Emberton (embertonb) <embertonb@coventry.ac.uk>
3 contributors

Users who have contributed to this file

@nytelife26 @embertonb @kellowa
[project]
dependencies = []
requires-python = ">=3.8"
readme = "README.md"
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
dev = [
"-e client @ file:///${PROJECT_ROOT}/client",
"-e utils @ file:///${PROJECT_ROOT}/utils",
"-e webserver @ file:///${PROJECT_ROOT}/webserver",
"-e broker @ file:///${PROJECT_ROOT}/broker",
"pre-commit>=3.5.0",
"ruff>=0.2.1",
]