Connecting iOS to wireless device - ios

I'm developing wireless gadgets to be controlled from different iOS Apps and I'm stuck with the connection and TCP messages part. Can anyone point me in what direction should I go?
To start, the first device is like a Belkin WeMo device. I've already added a network scanner with simple pings, but I don't fully understand the mechanism.

Related

iOS, iPhone, Bluetooth discovery during call

I am experiencing issues while trying to connect iOS app with a BLE device, during a call.
While not on a call the connection works fine and the phone and the BLE board connect instantaneously, however if there is a call, it's almost like the BT discovery is turned off completely.
I looked up everywhere and on Apple dev and couldn't find any info about changes to the discovery or BT antenna attenuation, during a call.
Does anyone have any ideas or any links they could point me to ?
Thank you !

Communicate iOS with ODB 2

I need to create an app read info from the ODB2 device installed in a car and show the data to the user but in a "funny" way. So I need to read the data and connect the phone to internet simultaneously.
I found this questions:How to communicate with OBD II using bluetooth or wifi using iphone , but is from 2014, maybe now there is something.
I've been looking for an ODB2 device that can communicates with iOS via Bluetooth.
I found a couple of devices that can do the trick (like viecar or bluedriver), but using their own apps. Also, I found some devices that can talk with iOS via WiFi, but it would be annoying to be connecting your device to WiFi, then turning off WiFi and using mobile data again...
So my questions is:
Is it there any way to communicates via bluetooth with an ODB2 devices? Or better said, is it there any ODB2 device that can be used via Bluetooth with iOS?

iOS: programatically determine if WiFi connection is 2,4Ghz or 5Ghz

I´m developing an iOS App using Texas Instruments Launchpad CC3200. But the awesome SmartConfig feature is only working for 2,4Ghz WiFi Network connections.
Users trying to do SmartConfig on hybrid or 5Ghz only WiFi connections are failing.
Does anybody know if it is possible to programmatically determine what type of WiFi connection (2,4Ghz or 5Ghz) an iOS device currently has?
Unfortunately, this is not possible unless your device is jailbroken or if you have access to private headers in the API.
The only thing you can do is tell the difference between cellular and WiFi connection using the Reachability class by Apple. The networking tools are very limited in this case.

TCP connection not working properly when using iPhone as hotspot

I'm developing an application for iOS which is connecting through TCP sockets to a server aplication run on Android. In order to find the IP of the 2nd device I use a UDP request and receive the IP of the server.
It's working well all the time when I'm connecting them to Wi-Fi network or when I use the Android device as a hotspot to the iPhone. But if I want to make the iOS device a personal hotspot, I can't reach connection between the two devices and the app is useless in this regime. Is it possible to connect the devices then and is the algorithm the problem? I would be glad to hear if someone has ever had a similar problem and knows the solution.

UDP connection between 2 ios device

I am currently using GCDAsyncUdpSocket to build a app that can communicate with UDP protocol.
I am testing whether the connection work with this iPhone app "UDP_Test" >> App link
When I send msg from my iOS simulator, the message does appear received on my iPhone "UDP_Test" app. However, when I download my project to the other iPhone and setup the connection with the iPhone that has "UDP_Test" app, the communication does not work.
Then I tried using "UDP_Test" for the two iPhone to communicate, it does not work as well. Same goes to iPad and iPhone. Is there a restriction for both iOS device to communicate with UDP?
Thanks.
I have found a way. We have to go to Network setting and choose your network. Then go to "HTTP Proxy" and choose "Manual" then enter the port that your device going to listen to, then it works.
Your two devices needed to be on the same subnet of the WiFi network.

Resources