Replies: 1 comment
-
Topics should not start with a /. Please try without the leading /. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have several topic for example:
/server/identify
/sever/control
/server/take/object
I want to subscribe to everything on the level server
I try to execute this code and it doesn't work.
private async Task mqttClient_ConnectedAsync(MqttClientConnectedEventArgs arg)
{
await mqttClient.SubscribeAsync(new MqttTopicFilterBuilder().WithTopic("/server/#").Build());
}
What's wrong? Thank you in advanced
Beta Was this translation helpful? Give feedback.
All reactions