Is this planned for 1.0?
Regardless, could we add this proposal to
https://wiki.mozilla.org/WebAPI? Thanks!
Lucas.
On Jul 10, 2012, at 4:16 AM, Gene Lian wrote:
> Hi Philipp,
>
> Sorry for the delayed response.
>
> ----- Original Message -----
>> From: "Philipp von Weitershausen" <
phil...@googlemail.com>
>> To: "Gene Lian" <
cl...@mozilla.com>
>> Cc:
mozilla-d...@lists.mozilla.org
>> Sent: Wednesday, July 4, 2012 5:49:07 AM
>> Subject: Re: Wifi/USB Tethering API Proposal
>>
>> On Tue, Jul 3, 2012 at 3:33 AM, Gene Lian <
cl...@mozilla.com> wrote:
>>> Hi guys,
>>>
>>> This topic is created for the Wifi/USB Tethering Web API
>>> discussions. The back-end implementation has been supported by
>>> Vincent Chang and is under review (please see Bug 735547 [1]). In
>>> the next step, we need to define more accurate Web API behaviors
>>> at DOM interface layer. After some surveys [2], the basic features
>>> are listed as follows:
>>>
>>> 1. Tethering types (Wifi/USB)
>>> 2. For Wifi tethering settings
>>> a. SSID
>>> b. Security types (Open/WEP/WPA/WPA2)
>>> c. Password (for WEP/WPA/WPA2 types)
>>> d. Get the number of connected Wifi stations
>>
>> Do you mean s/stations/clients/?
>
> Yes, I mean the number of clients connected to the current tethering hotspot.
>
>>
>>> e. Limit the maximum number of Wifi channels
>>>
>>> Other advanced features for Wifi tethering settings would be:
>>>
>>> f. DHCP server IP
>>> g. Transmit power
>>> h. Auto shut-off
>>>
>>> Based on Vincent's design so far, we're using the existing Settings
>>> APIs to control the items 1 and 2.a-c. For the 2.d-h, we're
>>> planning to expose a new set of Web APIs to enable them.
>>
>> Why can't 2.d-h not be covered by the Settings API?
>
> That sounds reasonable. However, for the item 2.d please see my concern as below.
>
>>
>>> Some questions:
>>>
>>> 1. What is the standard of whether a feature should be put in the
>>> Settings APIs
>>> or new APIs? For item 2.d, it is obvious we need a new API to get
>>> that information. But how about others?
>>
>> It could be a read-only setting. Bit of a hack, but it feels silly
>> creating another API just for that.
>
> As my best understanding, the Settings API is aimed for supporting static information setting, which can be saved in the database when shut-down and restored later when power-up. Right? If the number of connected Wifi clients is dynamic (depending how many clients are connected at that moment), is it still suitable to use the Settings API? Or that's why you mean "bit of a hack" here?
>
> Thanks,
> Gene
> _______________________________________________
> dev-webapi mailing list
>
dev-w...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-webapi