flightonary / Moscapsule

MQTT Client for iOS written in Swift
MIT License
273 stars 69 forks source link

Could Not Connect with tcp Url #78

Open AnuPriya27 opened 6 years ago

AnuPriya27 commented 6 years ago

Hello everyone,

We are developing an application which needs to consume AWS IoT service based on a MQTT protocol deviation. We are currently facing issues to get connected with MQTT broker provided by AWS IoT cloud server.

Following is the environment:

iOS Version: 11.4 Programming language: Swift 4 Library for MQTT: Moscapsule Steps followed: 1.Set initial config clientid, host, port 2.Set User Authentication. using the above step my code works fine , when I Connect mqttClient with WEB Socket . I get response from 1 . On Connection CallBack .

  1. On Publish CallBack .
  2. On Subscribe CallBack.
  3. On Message CallBack. Problems faced: When trying to Connect with TCP Socket , I didn't get any response . Any help in this context is highly appreciable.

Thanks in advance.