how to connect an ios device to a Hotspot driven by hostapd - ios

I met a problem to connect an ios device to the hotspot driven by hostapd which runs on my arm board.
IOS device will take a long time to connect, at last, the wifi signal is shown on status bar, and also got the ip address, but the circle, by the ssid side, won't disappear, it always turns round. This will make user think that the wifi doesn't connected yet, but it really connected.
I have tried some devices to connect the hotsopt, such as android cell phones, windows laptop, they all work correctly.
PS. My English is not good, I hope you could understand what I mean.

if the "circle by the ssid side" keeps showing ,i think your device is still trying to get ip address.
could you please provide us with more detail messages? such as your hostapd configure file and your dhcpd configure file.

Related

DJI iOS SDK (Swift) - App cannot connect to aircraft when iPhone is connected to the Mavic remote controller via USB

I have made the simplest app possible to connect to a Mavic Pro (basically the Swift version of this code (which comes from the Aircraft Binding and Activation demo on DJI's website.
My setup is as follows: iPhone running the App is connected via lightning cable to the main USB port on the RC (between the two joysticks on the bottom). The switch on the Mavic is set to "RC" (not Wifi).
When I run the app, the aircraft binding state is unknown and the DJISDKManager.product() returns nil, even though registration of the app completed successfully.
Here are some strange but helpful pieces of information:
With the same setup as above, running the DJI Go App from the same device works perfectly.
Using either the wireless bridge app or the wifi connections works perfectly and I'm able to connect with the aircraft no problem.
Is there some setting I'm missing? I looked at all of DJI's documentation very carefully, and have found no solutions.
The hardware accessory (the remote controller) may be associated with DJI Go now. With your app open, un-plug the lightening cable, and plug it back in. Now it will be associated with your app. With iOS 11 apps sharing hardware devices got a bit challenging.
(but thanks for mentioning DJI Go did work, then we don't have to worry the microUSB in the upper left corner of the RC was activated. Leaving the pigtail connector in will block the USB port you are using.)
I almost had the same problem. Here is the fix that worked for me.
Make sure in your info.plist file you have the following.
DJI-SDK
Also I am assuming that you calling DJISDKManager.startConnectionToProduct() after appRegisteredWithError(_ error: Error?) is called.

Beaglebone defaults to WiFi AP mode?

I've been struggling to get wifi working on my BBB for the better part of a week now. I sort of succeeded at one point, but I couldn't tell how I did it. Anyway, long story short, I noticed this morning that when I start a fresh debian image with my Edimax usb wifi installed, it defaults to AP mode and is broadcasting a SSID called "Beaglebone-710C". This makes sense with my problems because I could see the wifi dongle and see it was recognized, but I couldn't scan or connect. Does anyone know why it would default to AP mode? I think it might have something to do with me accessing the beaglebone via command line over USB? Thoughts? thanks!
Try the following after logging in your BBB via SSH on the USB connection:
http://www.erdahl.io/2016/07/beaglebone-green-wifi-bluetooth-connect_18.html

Connect Sony SmartEyeGlass to Wifi

today a SmartEyrGlass arrived at the office and I am having trouble connecting it to the wifi to take pictures.
The manual just says:
Turn on wireless LAN on your smartphone.
And in the settings off the glass it only displays the MAC address of the device.
I looked online for a full manual, but I couldn't find any.
What do I need to do to take pictures?
It will automatically connect over wireless LAN when you start the Camera application.
For connection, initial pairing over bluetooth is enough. Device will switch to WLAN automatically when application needs it.
Start Camera and you will see it is starting to connect.

Bluetooth COD on WinCE, connect by Apple mobile device

I would like to use a Apple mobile device (iPhone, iPod touch) to connect to a Windows CE device via bluetooth, but it failed. Iphone returns an error message that the device is not supported.
I understand about the MFI process but it's too difficult to get approval from the Apple MFi Team for a Windows CE device so I don't even bother to try.
Another way is change the bluetooth profile in the WinCE so make it as a headset or bluetooth keyboard so hopefully Apple can discover it as another device and accept the connection. I have the CERegEditor to modify the registry and also a COD generator from this link (http://bluetooth-pentest.narod.ru/software/bluetooth_class_of_device-service_generator.html). I modify the bluetooth profile successfully on the device and verified by Android. However, I'm still not able to use a iPhone to connect to it.
I tried to make it as a wireless headset or hands-free but it's not discoverable by the iPhone, or it just directly refused to connect.
If I made it as a keyboard, it's discoverable by the iPhone, but it doesn't connect after I send a pair request and type in the correct 4-digit pin. iPhone returns the "out of range" error even it's just next to it.
I hope I can get some help here. I appreciate if anyone can share similar experience before or provide me an appropriate COD code which works for you, or any other methods that can let me to make a connection.
Thanks for your attention.

Find device on personal hotspot network in iPhone

I need find IP of device which is connected on iPhones personal hotspot.
My solution is check every IP(from 172.20.10.2 to 172.20.10.255) which returns html with certain words.
Because device return html page on 80 now device has 172.20.10.7 IP on iPhones personal hotspot network.
iPhone IP is 172.20.10.1 (as gateway) on iOS 6.3 and IP getting started from 172.20.10.2 i think.
For my solution i need know: what is IP give personal hotspot on iOS7.
Can anybody help me with this?
I'm not have device with iOS7 only iOS6.3.
Just give me internal IP of device which connected with iOS7 personal hotspot device.
Thanks.
iOS 7 device hot spot gives an IP address in the 172.20.10.* range, just as for iOS 6

Resources