I don't know how to explain what I want so I give example situation.
I got 3 smart phone, locate in 3 different room.
All room has a distance where wifi device A can Only communicate with B. But unable to C. So have to send to B and B send to C.
My question is do wifi can used for communication with different device?
How? Any tutorial?
My final finished project will required to work like wallow talkie through WIFI. Phone with wifi signal can listen and resend to another larger area.
In your 'A, B C' scenario above, Phone 'B' can act as a wireless hotspot (even if it has no internet connection) and Phone A and Phone C can connect to it and speak to each other so long as they know each others IP address.
You would need to check the particular phones and OS version you are using supports this, but I have done with with several Android phones as an example.
I suspect, however, that your next question would be whether another phone, phone D, could then speak to A and B if it is only in range of Phone C.
This would require phone C to act as a wireless hotspot for phone D and at the same time as a wireless client to phone B's wireless hotspot. This is trickier and, while there are some example of an Android phone being used as a wireless repeater (e.g. http://www.littlegreenrobot.co.uk/tutorials/turn-your-android-device-into-a-wi-fi-extender/), I think you would need to experiment and I think you may find this won't work on most phones out of the box. When I tried a brief check using an Android phone running Android 4.3, turning the WiFi hotspot on automatically turns the WiFi access off.
Related
I'm writing some code (C++) for ESP32, to act as a BLE beacon. The problem is this: the iPhone doesn't send out its real MAC address, but does a random-generated MAC address, for security. The thing I'm confused about is how do you know if it's a device you've previously paired with?
So let's say I detect a new BLE MAC address, and looking at the manufacturer data I can determine it's an Apple device (first 2 bytes are "4C").
Now I need to know if I've previously paired with that device, so that I can allow the ESP32 to initiate an action (for simplicity let's just say turn on an LED). If that MAC address is in a list of known devices, then I can continue, and if not, I ignore it.
The problem is, if the iPhone is not giving up the real MAC address, the detected MAC address will never match anything. As this is a security situation I'm sure the algorithm for generating those MAC addresses is not known.
To be clear: this code is being written for the ESP32, not the iPhone.
It is in fact not possible to tell if a device has been previously seen, unless you pair and establish a bond with it. Once you pair with the device, long-term keys are exchanged and are used to quickly re-establish the connection.
This is by design. MAC addresses were originally unique, but this allowed tracking people and devices without their consent. You can read more about this in the following ESP-IDF guides:
GATT security server walkthrough
GATT security client walkthrough
So are you using esp32 as a beacon? This dose not involve any pairing or iOS MAC addresses. iOS will just be able to listen and the esp32 will not even know someone is "listening" to its broadcast.
Probably iOS application can store which services it is interested to hear to; may looks like pairing.. but it is a high level application managed technique and not any related to what BT standard calls pairing.
I'm looking forward to use cellular data when connected Wi-Fi.
Yi dash camera works like this.
Yi camera make Soft AP.
iOS or Android phone connect the Wi-Fi.
Between YI and Phone, internal network is made,
generally, phone cannot use the internet.
but, in Yi network, phone can use internet, sns, streaming, and etc.
How can i do it?
Thanks in advance.
One solution (not practical from an app user perspective) is to manually go to the iPhone Settings, Wi-Fisection and select the desired Wi-Fi hotspot i(info).
From there you can change Configure IP to be Manual instead of Automatic and set the IP Address to be the same one as in Automatic (same for Subnet Mask) and make sure that Router is left empty.
That way, iOS won't try to use the Wi-Fi to connect to internet but use cellular if available.
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.
I was exploring regarding Wi-Fi Direct and came accross with conclusion that WiFi -certified devices can connect one-to-one or one-to-many and not all connected products need to be Wi-Fi Direct-certified. One Wi-Fi Direct enabled device can connect to legacy Wi-Fi certified devices.So by this we can conclude like if one device is having WiFi direct and other device is having Wifi one can easily connect to it.
I have following queries please help me to resolve.
1.This Wifi Direct is there in Android ICS onwards.So i am trying to connect WiFi Direct of my Samsung Note 2 having Jelly Bean with another Samsung Mobile Galaxy Y duos having Ginger Bread that only has WiFi but i am unable to detect? Can anyone help me in finding reason for this?
2.Another thing i studied is Wifi Direct device will become as access point means it will create an Ad-hoc network ? So why another Wifi devices are not detecting it?
To find a wifi direct device in access point list of a normal wifi u need to create a wifi direct group. For this you need to first connect two wifi direct devices out of which one will act as a group owner and other as client. Once a group is created group owner act as a normal access point for legacy devices(Wifi devices).
Thus you need to create a Wifi Direct group first
I am looking for a solution to be able to send location data between two iPhones. I looked into Bluetooth data exchange but it is only a 10 meter range.
I have looked at Bonjour, however I haven't seen anything yet that would allow you to broadcast as a server over a 3g network. Is this possible?
Would I be able to use the Game Center for sharing data that is non game related?
Thanks In Advanced...
Not true. GameCenter just passes data. It has no concept of whether the data is game date, location data, or whatever.
Also, I dont think you can't use Bonjour to find devices over 3G. I believe you have to use a game center match invitation for devices not on the same local subnet.
If both devices are connected to the same wifi network, you can use Bonjour.