-
Notifications
You must be signed in to change notification settings - Fork 50
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
Send String #70
Comments
Hi, I added a string sending method for DPT16. Please try it out, I did not test it. |
Many thanks Envy. I tried to compile my sctach but it didn't work. So from: to: void write_14byte_string(address_t const &receiver, const char *val) { send_14byte_string(receiver, KNX_CT_WRITE, val); } Now it is compilingand tomorrow I will do a test with the sensor. I keep you posted. Many thanks. |
Whoops, sorry. Copy and paste error on my side. I fixed this in the repo, too. |
Hi Envy, I tested today and now it working but I had to do some changes in esp-knx-ip-send.cpp. void ESPKNXIP::send_14byte_string(address_t const &receiver, knx_command_type_t ct, const char *val) I got some strange values and I assume that there was something in buf. So I took the value from the examples above the file {0x00. Many thanks |
Thanks, fixed. I forgot to initialize the array and account for the first extra byte being needed. |
Hi Envy,
first of all thanks for this great work.
Would it be possible to add also a send string function?
I have some text information which I would like to send to the KNX bus.
Like the direction of the wind from a wind sensor.
Many thanks.
Poseidon
The text was updated successfully, but these errors were encountered: