W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2013

Re: Network Information API

From: Josh Soref <jsoref@blackberry.com>
Date: Fri, 6 Dec 2013 16:39:37 +0000
To: Marcos Caceres <w3c@marcosc.com>, "Kostiainen, Anssi" <anssi.kostiainen@intel.com>
CC: "<public-device-apis@w3.org>" <public-device-apis@w3.org>
Message-ID: <CEC76636.72F7%jsoref@blackberry.com>
Fwiw, Iım considering a network information api which is based on network
interfaces.

interface NetworkAdapter {
  string uuid;
  bool connected;
  string[] localaddresses;
  string[] gateways;
  /* possibly exposing dns server information */
}

With a notice going out for each up/down of each interface.

When I take my phone and it switches from only having cellular to having
cellular + wifi, Iıd get a notification for the new adapter, that
notification is a hint that routing may have changed and performance
characteristics may be different.

For BlackBerry devices, there is a third network which can easily go
up/down which is the Work network (itıs roughly a VPN), and then thereıs
also a normal VPN connection available ‹ each would notify (but only if
theyıre available to the given application ‹ the Work network may or may
not be exposed to non Work applications at the user/adminıs discretion).

I havenıt started prototyping this, but I believe that in theory this
covers all the actual use cases I can imagine.

When routing changes, itıs quite likely that performance characteristics
will change.

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Friday, 6 December 2013 16:40:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:01 UTC