how to change device wifi network? - cordova-plugins

Using WifiWizard2 plugin I did following things :-
--> I have connected my laptop to open wifi network(either adhoc or hotspot).
--> I have connected my mobile to open wifi network of my laptop.
--> Was able to change the network of my mobile to required locally available wifi network using this method - "WifiWizard2.connect(ssid, bindAll, password, algorithm, isHiddenSSID)".
--> What my requirement is - will I be able to change the network of my laptop from open network to required locally available wifi networks? which is as done in ring door bell application "https://www.youtube.com/watch?v=9yTg-iWPy28".

Related

BLE device is not listed under the Bluetooth device list in the Bluetooth settings

I am trying to build a mobile application that read data from WaterRower machine via BLE. This is the machine I am talking about, https://www.waterrower.co.uk/waterrower-natural-rowing-machine. The WaterRower has its own app, https://apps.apple.com/us/app/waterrower-monitor/id1463763094 that can connect to the machine's bluetooth/ BLE and read data from it. But when I download the app and open the app, the app can find the WaterRower machine and connects to it via Bluetooth. The WaterRower app can find the machine's Bluetooth as follow within the app.
As you can see, the WaterRower machine bluetooth's name is PD1186. When the machine is connected, I can also see that in the device's Bluetooth list as follow.
When the machine is connected to my iPhone's Bluetooth within the WaterRower app, it also appeared in the connected Bluetooth devices list of the phone. But if I tried to find the WaterRower machine without using the WaterRower app, the machine's Bluetooth is not listed as you can see below. My iPhone cannot scan it.
As you can see in the screenshot, the WaterRower machine is not listed under the scanned device list at all. It can only be found and connected using the WaterRower app. Also, I am trying to list down the devices in ReactNative following this article, https://blog.bam.tech/developer-news/make-your-first-iot-react-native-application-with-the-bluetooth-low-energy. But the WaterRower machine is not on the list at all.
What kind of BLE technology is that? Is that some sort of private tech to WaterRower? Can I not build my own app and pair it with the machine to read the data? Is it even possible to pair with the machine from my own app? Why is it not evening appearing under the iPhone Bluetooth device list and can only be connected from the app?

Viewing locally hosted webpages on a closed wifi network (no internet) via ios 10

For the purposes of a presentation demoing our app, where internet is not available, I need to connect some iPhones and iPads to a local wireless network (an ad hoc network) from which they will access a local web-server (hosted on a macbook) to send / receive data.
In the past this was simple, but it seems iOS 10 is no longer happy connecting to wireless networks that don't allow it to access apple's own servers via the internet.
As a test, I am able to use MAMP Viewer to view my local sites when both my laptop and iPhone are connected to wifi with internet access, but not when both are connected to an ad hoc network created via the macbook. I can see that the host exists, but can't connect to it - MAMP Viewer reports an error (with no details).
Is there a workaround, or is it genuinely the case that iOS 10 devices can only use a wifi network for web data if there's an internet connection back to Apple? Hopefully I'm missing something obvious?
I was able to get the connection working using an encrypted wifi network offline running from a router, just not an ad hoc network or an unsecured network.

Using Mac Hotspot for automated testing of mobile devices

I've used Apple's Network Link Conditioner to simulate a degraded network for my iOS device testing. But I'd like to set up some automated testing where a Mac's wifi hotspot is used as the mobile device-under-test's wifi connection. I'd like to be able to programmatically disable/enable the wifi network as well as disable/enable the networks upstream connection, perhaps under shell control. Any notion on how to achieve this?
On my MacBook, which has no built-in Ethernet, the following commands turns the Wi-Fi radio off and on:
sudo ifconfig en0 down
sudo ifconfig en0 up
If you enable Internet Connection Sharing you can use these commands to disable and enable Wi-Fi, and the backhaul interface as well, you'll just need to figure out which en device is which.
For finer grained control over the Wi-Fi radio check out the airport tool:
/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport

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.

Pocket PC not Connecting to PC

I have a Symbol PPT8800 that will not connect to Windows Mobile Device Center. It was working, I took it off the cradle, did a hard reset, and now it's not connecting. Is there a setting on the HH itself that is preventing the connection?
I have other Symbol PPT8800's that will connect in the same cradle without an issue.
There are a lot of possible sources for connection problems between a windows mobile handheld device and a PC running WMDC (ActiveSync).
use a known good USB cable
connect USB cable directly into PC and avoid USB hub
verify WMDC connects with another windows mobile device
disconnect handheld and reboot you PC and wait until PC is booted
before trying to connect
"Allow USB connections" has been deselected in WMDC Connection
Settings
sometimes the device setting "Enable advanced network functionality"
in Start/Settings/Connections/"USB to PC" has to be unchecked (or
checked).
the device has a corrupted registry and does not start the connect
(repllog.exe) or does not authenticate correctly. Do a clean boot or
wipe of the device to get the device back to factory defaults
I am sorry, but there are many possible issues that can cause a WMDC connection to fail. Recently I had the prob that after sleep/resume of my PC the USB hubs were in power save mode and I was unable to get device to connect to WMDC.
Does your PC do some 'boing' sound when you attach the USB cable to the device?
What does Hardware Device Manager show? Any exclamation marks?
EDIT: How to wipe a device?
You need to write either a small .net or c++ app using DMProcessConfigXML and the following wap provisioning xml:
<wap-provisioningdoc>
<characteristic type="RemoteWipe">
<parm name="doWipe" value="1"/>
</characteristic>
</wap-provisioningdoc>
[see also http://peterfoot.net/UsingRemoteWipe.aspx]
or use RapiConfig tool from Mobile SDK.
If both are not useable for you (is that running Windows Mobile or Windows CE?) or just restore factory default or reflash the device. If it is a device with Windows Mobile before version 5, you can just do a cold boot but delete any persistent folder first (ie Flash File Store or ???).
Factory restore of PT 8800:
hold white RESET button + POWER + FUNC

Resources