Connect to wifi using nfc - wifi

I am looking for a way to connect a NFC phone to my wifi (just using the built-in feature of NFC).
My current plan would be to push my wifi setting to the phone so that non-NFC phones can still connect to my wifi using a password.
My alternative plan was to use a NFC reader to get informations like mac address of a phone then add it to my list of approved mac addresses in my router.
What plan have the most chance of succeeding and how to go about it?

The first plan sounds promising with the use of an app you can read the wifi credentials off the nfc http://lifehacker.com/six-sweet-things-you-can-do-with-nfc-1323120090
as answered here Share Wifi credentials via NFC tag without special apps its not supported to currently do this with out a nfc reading/dedicated nfc wifi app

Related

Can an iPhone have entitlements to get decrypted wifi password info, e.g. to send by bluetooth?

I am looking to design a way to configure wifi setup for a non-apple device, by pairing it via bluetooth with an app on an iPhone.
The iPhone would be one already connected to the target wifi network. The app would support its own bluetooth connection with the non-apple device
I understand that there are entitlements, like CNCopyCurrentNetworkInfo, but from research it doesn't look like that is enough. Maybe there are others? Or is this only possible by being approved to implement HomeKit on the 'target non-apple device'?
The presume path of data is
credential stored in iOS
some entitlement that permits access to unencrypted data
app with entitlement
app security handles data
valid bluetooth pairing of the app
unencrypted password sent via bluetooth
non-apple device uses the network SSID + credential to make its own connection
Thanks for your help or corrections. These existing Q&A do not answer it: 1, 2
CNCopyCurrentNetworkInfo does not give you the password, even if you jump through all the hoops including users location permission. Theoretically you can only get SSID of the connected network (with location permission from the user)
Best humane way to approach this (as of today) is by asking the user to enter their WiFi SSID/password in a popup and send it to the Bluetooth device. I was not able to find a better way.
If you use something like Blufi, you can :
have BT device scan for available hotspots
display the list of hotspots for the user
have them select the network + enter the password manually
send the credentials to the Bluetooth device
PS. it would be quite spooky if there was a way to read system keychain passwords from an app.

Is there a way to Connect with a Wi-Fi Modem via my iOS app without using Settings Page?

I want to connect with a Wi-Fi Modem via my iOS app. I don't want the user to go to Settings page and Activate Wi-Fi. Is it possible to achieve a Single Button - Pressed & Wi-Fi Connection Activated?
Thanks for your reply!!!
This is not possible unless you use Apple80211 private API, which will be rejected from the App Store.
Here's more information on how it's not possible, and here's a framework for jailbroken phones to use private API and seek/connect to a network.

Can you communicate with nearby devices using a website?

Can a website help a user communicate with nearby devices via bluetooth/WLAN without downloading software?
User requests that something be done on their device (which could be, for example a wirelessly connected printer or a bluetooth keyboard).
The site, which contains a repository of relevant actions, sends specific instructions for that device to the user's own machine.
Those instructions are then relayed to the correct device (with the user's permission) via the user's device's WLAN or existing bluetooth connection.
Part 3 is what I'm not sure of - is there a mechanism by which a website can contribute to a wireless/bluetooth connection held locally?
It is not possible. User browser can't interact with hardware for wireless networking.
You should force user to install some custom software to do this.
You would have to submit the "commands" first, then have the device make requests to the website server, i.e., check for any pending "commands" for the device, and then process them locally. A website is not "thing" that can directly interface with a hardware device.

About wifi scanning in iOS

I'm wondering if it's possible to scan wifi networking nearby like what WiFi Map did?
And in this application, it can even provide password of the wifi hotspot. Is it legal and what kind of technology is used?
I do not think this App use IOS technology to scan wifi and offer dynamic password.
In IOS,with public API,you even cannot scan available wifi nearby.
So,I think the Technology of this app is:
At first, they offer some public wifi and passowrd.
Then user use this app,and they choose to share about connected wifi.So,that the database of this app became bigger and bigger.

Communication through Messaging in iOS

I'm Developing an application. It is the Communication Between iPhone Application and a Hardware Device. in that Hardware Device We are Having SIM Card and also that Hardware Device had Some Settings. Now my task is i have to Modify that Settings By using our Mobile Application through Messaging.
I am able to send that settings in Some Message format to that Hardware Device.after settings have been changed the Hardware Device sends a response message. Now my Problem is I am Unable to Read that Message From My Application.
I Google it in Some Sources they Said:
1.There is No possibility of Reading SMS By using our Application.
2.It is Possible Only if the Phone is Jail Breaked.
is there any alternative solution for this i.e Communication Between iPhone Application and a Hardware Device through only messaging.
Why the hell are you using SMS for this? why not run a server socket on the device that listens for connection, implement some way of connecting remotely (intermediate server, static ip, UPNP etc) and connect and send data via TCP.
As you have stated in you question iOS doesn't allow you access to SMS, you will not be able to achieve this, unless the iPhone is jailbroken, there might be some level of access then but I have no experience with jailbreaking.

Resources