Skip to content

Possibility to serialize messages directly to server? #298

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

Closed
dloeckx opened this issue Mar 4, 2023 · 1 comment
Closed

Possibility to serialize messages directly to server? #298

dloeckx opened this issue Mar 4, 2023 · 1 comment

Comments

@dloeckx
Copy link

dloeckx commented Mar 4, 2023

I don't think it is possible to serialize messages directly to server? What would be a good approach to implement this?

E.g., with https://pubsubclient.knolleary.net/api you can call beginPublish, send your message using write, and then call endPublish to finish up.

I am looking for this feature to be able to send (relatively) large json messages over mqtt, as in https://github.com/dawidchyrzynski/arduino-home-assistant/blob/0fc32a5bad861ca76767ff13187f8afabcc4f9a0/src/device-types/HABaseDeviceType.cpp#L99 .

@256dpi
Copy link
Owner

256dpi commented Oct 26, 2023

We're tracking this effort in #145. I'm closing this for now.

@256dpi 256dpi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 26, 2023
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

2 participants