electron app to manage wifi connection of the device - raspberry-pi

I want to create an electron app through which I can manage the wifi connections of the device. How to approach it? Is there any library available which gives me access to wifi api of the device?

Related

Device to device communication with Xamarin

I am developing an application for iOS, Android, UWP and Windows Phone 8.1 device with Xamarin Forms.
In this app I have a key feature witch require the app to send notifications to other device (which are also running the app).
The amout of data is realy low but it has to be fast (don't want to use a backend).
What I want to do:
When the user lunch the app, the app scan network (Wifi and/or bluethooth) to find if another app is already running)
If the app find nothing, it launch a server part.
If the app find someting, it connect to the other device (with allow/disallow screen).
So I am considering the folowing solution :
Wifi (but it requires all devices to be on the same network).
Bluetooth
I don't find best pratice or guides for this.
Does someone have already tried and have a solution ?
Thanks.

Renew/change the IP address of an iPhone programmatically in iOS 6.1

I am developing an iPad/iPhone app for my own personal use on my own devices (i.e. not for submission to the App Store).
My app needs to change the IP addresses assigned to the cellular data (not WiFi) connection of the iPhone/iPad at regular intervals. I understand the best way to do this is to put the device in Airplane mode briefly, however it would appear that this is only possible using private APIs on a jailbroken device.
Is there a way to do this on a non-jailbroken device?

How to switch between wi-fi networks at runtime (programmatically) in iPhone app

Is it possible to switch between WiFi networks in an iPhone App programmatically? At time of app execution if one network goes down but that is still connected and I want to switch to another wi-fi network. Is this possible?
Your iPhone app shouldn't manage wifi networks. If it does, it won't get approved by Apple to be put in the App Store. The iPhone itself manages wifi connections, not a third-party app.
If you are developing for a jailbroken iphone, you can develop a MobileSubstrate extension/ Tweak with Theos and hook into the SpringBoard Application. The SBWiFiManager interface is part of SpringBoard app and has a lot of useful methods that should help you with controlling WiFi.
There is no iOS API for this, but there can be some possible solutions, like make it available on Cydia for jailbroken devices. AirServer just did this.

Deploy app to iPhone wirelessly?

I remember hearing about how Apple was going to include the ability to deploy an app from Xcode to your iPhone wirelessly in the 3.1 SDK. I believe it was to aid developers that wanted to deploy/test apps that used peripherals that plugged into the iphone's docking port- this way, they could deploy a build of the app with their peripheral device still plugged in.
Has anyone done this, or have a clue as to how to do this? Is it done via wifi network, via a direct bluetooth connection to the mac...?
I believe you can't deploy, but you can use Instruments over Wifi to performance tune your app.
You still need to use USB to allow for Xcode to install and debug your app.

Can i use iphone's wifi to comunicate with my own wifi module?

Including data exchange. I can not find such api in apple doc site. If it is not open in 3.1.2 sdk ,would apple release it in sdk4.0? I've heared that google released wireless api on android earlier . Thanks!
iPhones support ad-hoc wifi networking, so I expect you can make your device start an ad-hoc network and have the iPhone user connect manually. I doubt there will be an API for that, it's a security issue.