RE: Firefox OS - Wifi network commands

Andrzej Surdej <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout
Message-ID <008401cee055$199cc6f0$4cd654d0$%[email protected]>
Hello,
Some time ago I wanted to do the same thing. I found out the file
/data/misc/wifi/wpa_supplicant.conf
You can add new connection detail inside this file and it will work.
E.g. add:
network={
	ssid="MY_AWESOME_WIFI"
	psk="myawesomepassword"
	key_mgmt=WPA-PSK
}

Sorry for offtopic :)

BR,
Andrzej

-----Original Message-----
From: dev-tech-layout
[mailto:[email protected]] On
Behalf Of Daniel Holbert
Sent: Wednesday, November 13, 2013 1:33 AM
To: Antonio del Olmo Tena; [email protected]
Subject: Re: Firefox OS - Wifi network commands

The people who could answer your question likely don't follow this newsgroup
-- this newsgroup is specifically for layout in Gecko, not on Firefox
OS-specific stuff.

Some better places to ask might be mozilla.dev.b2g [1] or mozilla.dev.webapi
[2].

But to get you started, I found this page via googling "Firefox OS wifi",
and it looks like it might answer some of your questions:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Platform/Archite
cture#WiFi

It refers to nsIWifi.idl, which lives here:
http://mxr.mozilla.org/mozilla-central/source/dom/wifi/nsIWifi.idl

Anyway -- subsequent discussion about this should happen on one of those
other newsgroups, since it's off-topic for this forum.

~Daniel

[1] http://www.mozilla.org/about/forums/#dev-b2g
[2] http://www.mozilla.org/about/forums/#dev-webapi


On 11/12/2013 02:37 AM, Antonio del Olmo Tena wrote:
> Hi,
> 
> I´m new in this group.
> 
> I´m starting in Firefox OS programming to mobile devices.
> 
> Im doing some examples to know how work this nomenclature but I have some
questions.
> 
> What are the commands to manage wifi network in firefox os?
> 
> How can I enable wifi connection programmatically?
> 
> Can I add a wifi network programmatically?
> 
> Thanks in advance.
> Regards
> _______________________________________________
> dev-tech-layout mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-layout
> 
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.