SwiftMQTT
SwiftMQTT copied to clipboard
MQTT Client in pure swift ❤️
When a publish was received with QoS of 0 there was a publish Acknowledgment sent with a MessageID of 0 causing the server to send an endEncountered event closing the...
make sure the client always be called back
Hi, I can't receive more than 1 message without disconnection (Socket error) What is the correct way to suscribe to a topic? This is my code: https://pastebin.com/ad1D8P4w
It seems that this repo contains a more recent version: https://github.com/anatoliykant/SwiftMQTT
Swift is used on Ubuntu and MQTT is a good protocol for IoT purposes. This can be used both on the server-side and on Raspberry Pis. Here is the current...
Scenario: I am using MQTT for a game firstly user plays for sometimes MQTT works great then I turn off my internet for 5 sec it's off and then the...
In case of network loss, I encounter a crash in the deinit function on line 73: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value currentRunLoop seems to...
Publish is working fine. I am making the subscribe call once the connection happens, but there is no response to the subscribe call, no error or sucess
When creating: ```swift let qos = MQTTQoS(rawValue: header.flags & 0x06)! ``` this force unwrap crashes if QoS on a publish message is 2, to fix this crash: ```diff public enum...