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

Tasmota issue - Error msg 0x10-ERROR - size(69), state=4 #65

Open
hsaturn opened this issue Feb 28, 2023 · 1 comment
Open

Tasmota issue - Error msg 0x10-ERROR - size(69), state=4 #65

hsaturn opened this issue Feb 28, 2023 · 1 comment

Comments

@hsaturn
Copy link
Owner

hsaturn commented Feb 28, 2023

I was too quick with my question.

After I set user and password on the client the client is connected.
But removed immediately.

Does anyone have the TinyServer running with TASMOTA clients?
Thanks in advance for every tip.

broker.loop():client
153 New client
---> INCOMING 10 client(1073527448:) mem=279504
Incoming size(72), state=4
Incoming | 10 46 00 04 4D 51 54 54 | .F.. - MQTT |
Incoming | 04 EE 00 1E 00 0C 58 54 | .�.. - ..XT |
Incoming | 36 30 30 5F 47 41 52 41 | 600_ - GARA |
Incoming | 47 45 00 15 74 65 6C 65 | GE.. - tele |
Incoming | 2F 58 54 36 30 30 5F 47 | /XT6 - 00_G |
Incoming | 41 52 41 47 45 2F 4C 57 | ARAG - E/LW |
Incoming | 54 00 07 4F 66 66 6C 69 | T..O - ffli |
Incoming | 6E 65 00 05 67 75 65 73 | ne.. - gues |
Incoming | 74 00 05 67 75 65 73 74 | t..g - uest |

Connected client:XT600_GARAGE, keep alive=30.
815 sending 5 bytes
187 Client XT600_GARAGE Disconnected, parent=1073485520
64 close XT600_GARAGE
137 Remove 1
140 Client removed 0
.
.
broker.loop():client
153 New client
.
.
.
Michael (DE)

@hsaturn
Copy link
Owner Author

hsaturn commented Feb 28, 2023

Grobbian answered on Sep 16, 2022

Hi Michael,

i tried the same and I have the same problem.
I looked a bit deaper in the sources and it looks like that the "Last Will" which is provided by the Tasmota Devices cause the iussue.
Sadly I found no way so far to, disable this last will stuff on Tasmota by my own.
using CallBack = void ()(const MqttClient source, const Topic& topic, const char* payload, size_t payload_length); enum attribute((packed)) Flags { FlagUserName = 128, FlagPassword = 64, FlagWillRetain = 32, // unsupported FlagWillQos = 16 | 8, // unsupported FlagWill = 4, // unsupported FlagCleanSession = 2, // unsupported FlagReserved = 1 };

Ist the code from the client function in Tiny Mqtt. Perhaps someone knows if there is an easy way to add the "Last Will" functionality.

Greetings, Groobi (Ger)

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

1 participant