Closed
Bug 1171373
Opened 10 years ago
Closed 7 years ago
Expose Tethering settings to user
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gerard-majax, Unassigned)
Details
(Keywords: foxfood)
In dom/system/gonk/TetheringService.js we have lots of settings key defined to control the behavior of WiFi and USB tethering. But user has no way to change those.
That makes the feature useless if you are unlucky. Story of my life, fiber cut, no more DSL. I wanted to use my B2G device in USB tethering on my router to get network in the meantime.
Bad luck, the tethering networks are 192.168.0.0/24 for USB and 192.168.1.0/24 for WiFi. Same as mine. So I needed to change USB tethering network.
Since it's not exposed and not reacting to prefs, one has to plug WebIDE and play with |navigator.mozSettings.createLock().set()| directly ...
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(changyihsin)
Flags: needinfo?(arthur.chen)
Comment 1•10 years ago
|
||
Hi Alexandre, we have setTetheringEnabled WebAPI [1] to turn on/off wifi/usb tethering. You can also specify ip address in TetheringConfiguration params.
[1] https://dxr.mozilla.org/mozilla-central/source/dom/webidl/MozTetheringManager.webidl?from=MozTetheringManager.webidl&case=true#54
Flags: needinfo?(changyihsin)
Comment 2•10 years ago
|
||
Vincent, using this API means that it is required to use API for toggling wifi, right?
Flags: needinfo?(arthur.chen)
Comment 3•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•