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

Can't set mqttTopic to "actor/{identifier}" in telnet #478

Closed
byteborg opened this issue Jan 27, 2018 · 3 comments
Closed

Can't set mqttTopic to "actor/{identifier}" in telnet #478

byteborg opened this issue Jan 27, 2018 · 3 comments
Assignees
Milestone

Comments

@byteborg
Copy link

byteborg commented Jan 27, 2018

Trying to set mqttTopic to a topic with prefix does not work (nothing happens). Setting it to {identifier} works. Am I doing it wrong?

set mqttTopic actor/{identifier}
set mqttTopic {identifier}
+OK
set mqttTopic 'actor/{identifier}'
-ERROR unknown command
set mqttTopic "actor/{identifier}"
-ERROR unknown command
@xoseperez
Copy link
Owner

xoseperez commented Jan 28, 2018

Changing any setting related to MQTT in the terminal requires a reconnection to the broker. You just have to:

set mqttTopic actor/{identifier}
mqtt.reset

@mcspr
Copy link
Collaborator

mcspr commented Jan 28, 2018

I think it is #477

>>> len("set mqttTopic actor/{identifier}\r\n")
34

Same blank response when exactly 32, and errors when it moves to the start of the buffer.

@xoseperez xoseperez added this to the 1.12.2 milestone Jan 28, 2018
@xoseperez xoseperez self-assigned this Jan 28, 2018
@xoseperez
Copy link
Owner

In this case, the fix will be released with 1.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants