Questions tagged [ios-mqtt-client-framework]

11 questions
8
votes
4 answers

MQTT-Client-Framework stay running at background

I'm trying to connect to our push server via MQTT-Client-Framework. There is no complication for connecting to server and with a few line of code i can connect to server and subscribe to topic. but I have a few question that I could not find any…
mehdok
  • 1,499
  • 4
  • 29
  • 54
5
votes
1 answer

When publishing message with mqtt QoS 2, can it be lost?

I am trying to implement an MQTT client, using MQTT-Client Framework. I want to assure that every message I try to publish reaches the broker. I can't figure out exactly what QOS2 means: It states that a message will be sent exactly once. Does it…
angelos_lex
  • 1,593
  • 16
  • 24
5
votes
1 answer

iOS MQTT do not receive message after reconnection

I am developing an iOS application using MQTT-Client-Framework. The app successfully communicates with the server at the first launch. But after I turn it to background and get back to foreground, I no longer receive any message from the MQTT…
Jimmy Pun
  • 91
  • 1
  • 6
2
votes
1 answer

iOS MQTT Client Framework : 'SocketRocket/SRWebSocket.h' file not found

I am trying to add MQTT Client framework to my project by copying source files to project. It gives me SocketRocket/SRWebSocket.h file not found errors. I tried including socketRocket Library and changing SocketRocket/SRWebSocket.h to…
NotABot
  • 516
  • 1
  • 8
  • 27
2
votes
4 answers

iOS - MQTT Client Framework does connect/work

I am building an iOS application and I wanted to use MQTT to be able to subscribe/publish messages to an MQTT Server. Upon researching MQTT Libraries, I found this library which seemed to be adequate for my purposes. Kindly note that I already made…
Razgriz
  • 7,179
  • 17
  • 78
  • 150
1
vote
1 answer

CocoaMQTT init, Can't seem to connect to MQTT Broker

Please excuse how much of a newbie I am. I started on swift at the beginning of last week... I am trying to make an app that uses BLE and or MQTT to talk to a raspberry pi through a broker. the BLE side is ok but the MQTT (for when out of BLE range)…
1
vote
1 answer

iOS carthage with MQTT framework

I have a application which is written in objective c and using pods to set dependency and target iOS version is 7.0. Due to some license conflict i want to use MQTT with dynamic linking with help of Carthage. So I followed following steps Remove…
jatin
  • 181
  • 7
0
votes
0 answers

mqtt.didReceiveMessage is not called when app not active iOS

I have an MQTT client that receives messages and should perform actions based on the message content. When the app is active - everything works as expected. However, when switched to a different app or the home screen, the actions do not happen,…
Nazar
  • 820
  • 5
  • 13
  • 36
0
votes
1 answer

iphone app for MQTT and adafruit objc not working

I have built a MQTT client on an ESP8266-01 which gathers sensor data and publishes it to my account dashboard on Adafruit.com. I also built one on an ESP8266-12e which subscribes to my Adafruit account and turns on a pin when certain conditions…
user1114881
  • 731
  • 1
  • 12
  • 25
0
votes
1 answer

How to publish or send a message by MQTT client framework when application is in background in iOS Swift

I am developing an application to send the current user location every 15 minutes via the MQTT client framework. When the application is in the foreground it works fine but when the application is in background, the MQTT delegate function…
0
votes
1 answer

Can MQTT-SN v1.2 support the request-response pattern that is supported by MQTT v5?

I read the MQTT-SN spec and I am unsure if it also can support the request-response pattern. Does anyone know ? Trying to implement something like this... http://www.steves-internet-guide.com/mqttv5-request-response/ Where the MQTT v5 publish…
bluesky
  • 150
  • 1
  • 1
  • 11