Hello Robin,

 

Thank you for your reply. Your information is very helpful for me. 


>>  What are you using to talk to the radio layer?

I'm using ioctl() function and ifconf struct because I'm working on unix. Of course, the implementation will be implemented per machine differently.


It looks mozilla is implementing this feature with *moz* prefix. And also, mozilla changes functions provided by connection object. I think webkit is also

support this API as mozilla. For example, navigator.webkitConnection.bandwidth, navigator.webkitConnection.restricted. I will ask my suggestion to webkit

community soon.


Thank you,

Gyuyoung.


------- Original Message -------

Sender : Robin Berjon<robin@berjon.com>

Date : 2011-12-15 06:27 (GMT+09:00)

Title : Re: Question about Network Information API

 

[+public-device-status]

Hi,

On Dec 14, 2011, at 06:29 , Gyuyoung Kim wrote:
> I'm adding feature of Network Information API to WebKit.
> Bug 73528 - Support the Network Information API
> (https://bugs.webkit.org/show_bug.cgi?id=73528)

> First of all, I'm implementing it on Linux machine. However, I couldn't find proper solution to find type of cellular network. (2g, 3g and 4g)
> So, current patch just supports "ethernet", "wifi" and "cellular" connection type.
>
> I would like to know if partial spec support is ok for now.

Any information feedback is good feedback, so if you find that there simply is no way to reflect more accurate information on a given platform then we may need to modify the specification to indicate that in some cases only "cellular" can be given rather than the more detailed alternatives.

That being said I'm a little bit surprised, if the device supports multiple mobile network types then presumably the information about which one is being used should be available somewhere (the question, of course, is finding where :). What are you using to talk to the radio layer?

> And also,are there similar cases before?
> If so, how to finish that case?

I recall that Mozilla has expressed interest in this feature, maybe some helpful progress has been made about it there?

PS: I added the public-device-status list to the Cc because that is where Network Information is being discussed now. I encourage you to continue the discussion on that list rather than on the main DAP one.

--
Robin Berjon - http://berjon.com/ - @robinberjon