CocoaMQTT
CocoaMQTT copied to clipboard
MQTT 5.0 client library for iOS and macOS written in Swift
Hi, can someone help me on this question? can we use this CocoaMQTT for the AWS IOT MQTT server where customautherizer with user name and password configuration.
I'm not able to connect to my server using one way TLS. The code I use to connect is : self.mqttClient = CocoaMQTT(clientID: clientId, host: host, port: UInt16(port)) self.mqttClient.keepAlive =...
I'm having issues connecting to AWS IoT Core using wss and CocoaMQTTWebSocket. Log reports the following error messages: ``` CocoaMQTT(debug): Call the SSL/TLS manually validating function 2022-03-07 15:35:44.474400+0100 WssMQTT[28978:4192468] API...
When exporting this library as a `.xcframework` users will get errors inside inside `.swiftinterface file` when including it in the project:  The name of the type/class (CocoaMQTT) and the...
I call `mqtt.disconnect`,but it still reconnect.I found the variable `is_internal_disconnected` is always true. ```swift public func disconnect() { is_internal_disconnected = false internal_disconnect() } /// Disconnect unexpectedly func internal_disconnect() { is_internal_disconnected...
   use 'initWithClientId or initWithClientID' both wrong? so I want to know how to use CocoaMQTT for OC project?
fix the issue #465
Hi, when I'm connecting to AWS IoT with cocoamqtt I receive this error in debug console: "Optional(Error Domain=kCFStreamErrorDomainSSL Code=-9805 "(null)" UserInfo={NSLocalizedRecoverySuggestion=Error code definition can be found in Apple's SecureTransport.h}) Sometimes...
TLS issue
Hi, when using the MQTT protocol with TLS, there are some issues (with versions 2.x and 1.x. LetsEncrypt certificates generated with Traefik are denied with `errSSLXCertChainInvalid = -9807, /* invalid...
App is crashing for iOS 14 beta version Crash log:- Crashed: com.apple.main-thread 0 CocoaMQTT 0x105cb7cf4 CocoaMQTTStorage.__read(needDelete:) + 129 (CocoaMQTTStorage.swift:129) 1 CocoaMQTT 0x105cad500 CocoaMQTTDeliver.recoverSessionBy(_:) + 88 (CocoaMQTTStorage.swift:88) 2 CocoaMQTT 0x105caafe8 specialized...