User Tools

Site Tools


wifi

This is an old revision of the document!


Wi-Fi

Summary

The Networking and Internet functional unit is all about connecting vehicles to IT Infrastructure and to other vehicles by using wireless network connections over:

Features

  • Mobile networks
  • WLAN access points.

Wi-Fi class provides list view of available Wi-Fi networks:

  • Detailed information view with signal strength
  • Security or IP address for Wi-Fi network
  • Functionality to connect and disconnect to open and protected Wi-Fi networks
  • Connect to hidden Wi-Fi network by providing SSID and passphrase
  • Mark and unmark Wi-Fi network for auto-connect
  • Enable and disable Wi-Fi tethering with SSID and passphrase entry
  • Turn on and off Wi-Fi adapter

This class requires following components:

  • Tabs component
    • BoxCaption component
  • Settings component
    • BoxCaption component
    • Tabs component
    • Themes component
    • Wifi component
    • Bluetooth component

Also included in this functional unit is the management of voice calls (including telematics), a browser framework for automotive, Ethernet networking in the car, and connection management between various data sources and sinks in the car.

Resources

Watch Wi-Fi.

Access the Design Requirements Document (DRD).

Access the Sources.

What the app does

This screen is usually loaded from Settings component and since this component is included in every Tizen PoC application it's available for future use.

Technical Details

The sections below are taken from directions for what is known as the Tizen IVI 3.0-M2-EOY (commonly called 'the Jan. 15 image'. The current Tizen release is dated 2014.01.14, and may require some adjustment.

Installation Prerequisites

The following installation directions take the base Tizen image and install needed supporting software

1. The most recent version of the WRT Bluetooth plugin. Clone-able from here: review.tizen.org/profile/ivi/wrt-plugins-ivi-bt.

2. Version 12.1.3750 of the Phone widget. Run wrt-launcher -l to check your version.

Instructions for debugging WRT Apps on Tizen IVI (installation, removal, and deployment)

Tizen IVI WRT applications are built into widget ('.wgt') files for deployment (a format based on the W3C widget specification, see http://www.w3.org/TR/widgets/ for more information). Once you have built or received the widget files for one or more applications that you wish to deploy and run, the next step is to copy them onto the target device. Common options for this would be tools like scp/sftp (in a Linux/Unix environment), FileZilla (Windows and Mac) or Cyberduck (Mac).

Once the .wgt files have been transferred to the target machine, they may be installed, launched and uninstalled.

To get a list of currently installed applications, use the following command from a terminal (or remote shell/ssh session) on the target hardware (log in as root with the password tizen):

root:~> wrt-launcher -l

This will produce output similar to the following:

No Name Version GUID Package ID App ID
1 saythis 1.0.0 http://yourdomain/sayThis lYjFlj49Q4 lYjFlj49Q4.saythis
2 Settings 1.0.0 http://yourdomain/Settings ODBQpKvkS1 ODBQpKvkS1.Settings
3 MediaPlayer 1.0.0 http://yourdomain/MediaPlayer t8j6HTRpuz t8j6HTRpuz.MediaPlayer
4 Store 8.2.4401 http://com.intel.tizen/store intelPoc13 intelPoc13.Store
5 NFC 12.1.3750 http://com.intel.tizen/Settings ODBQpKvkS1 ODBQpKvkS1.Settings.wgt

If the application you wish to install is not already installed, simply enter (using ODBQpKvkS1.Settings.wgt as an example):

root:~> wrt-installer -i ODBQpKvkS1.Settings.wgt

If successful, you should see output such as the following:

===========================================================
   # wrt-installer #
   # argc [3]
   # argv[0] = [wrt-installer]
   # argv[1] = [-i]
   # argv[2] = [ODBQpKvkS1.Settings.wgt]
   ## wrt-installer : ODBQpKvkS1.Settings.wgt installation was successful.
   ===========================================================

If unsuccessful, you may see errors such as 'invalid widget package', 'privilege level violation' or, if the application is already installed (and its widget file was built with a different signature than the one you wish to install), 'invalid signature'. The first two errors are out of scope for this document.

If you see 'invalid signature', and the widget file has to your knowledge been created with a valid signature, the likely cause is a conflict between the signature of the currently installed version and that of the new version. Though both signatures may be valid, the system treats the upgrade of an existing package with a different signature as a security violation. To work around this issue, simply uninstall the application and subsequently install the new version:

root:~> wrt-installer -un ODBQpKvkS1.Settings.wgt      <-- note: use the App ID when 
un-installing and the full widget filename when installing

If the uninstall is successful, you should see output like the following:

===========================================================
   # wrt-installer #
   # argc [3]
   # argv[0] = [wrt-installer]
   # argv[1] = [-un]
   # argv[2] = [ODBQpKvkS1.Settings.wgt]
   ===========================================================
   ## wrt-installer : ODBQpKvkS1.Settings.wgt un-installation was successful.

Refer to installation instructions above for the subsequent installation steps.

In order to launch and run an installed application, issue the following command with the application's App ID as an argument:

root:~> wrt-launcher -s ODBQpKvkS1.Settings.wgt

You should see the application start and run on the target device.

To launch the application in debug mode, add the '-d' flag:

root:~> wrt-launcher -d -s ODBQpKvkS1.Settings.wgt

This will produce output like the following:

root:~/wgt> wrt-launcher -d -s ODBQpKvkS1.Settings.wgt
   port: 36070
   result: launched

The port number referenced is a random high port which allows one to connect to the target device with a web browser using a URL of the form:

http://&lt;ip address or name of target device>:<port #>

For example:

http://192.168.1.223:36070

Once connected, you should see a single link in the upper right of the resulting web page, e.g.:

file:///opt/usr/apps/ODBQpKvkS1/res/wgt/index.html

Clicking that link will launch Webkit Web Inspector, a set of web development tools that should look familiar to users of Firefox Firebug or Chrome Dev Tools. Click the 'Console' icon in the toolbar to go to the Javascript console. Press ctrl-R, or type:

window.location.reload();

…to reload the application in order to display the startup/initialization functions associated with the app (since the app has already started by the time the debug interface is available).

To exit a running application, issue the following command with the application's App ID as an argument:

root:~> wrt-launcher -k ODBQpKvkS1.Settings

Instruction to the console:

Assumptions these are all running from the Tizen platform and can access the console by SSH command or Control ALT F4 for a terminal. Tizen instructions are at Tizen.org

Install

wrt-installer -i ODBQpKvkS1.Settings.wgt

Launch

wrt-installer -i ODBQpKvkS1.Settings.wgt

Known Bugs

Issue Type Key Summary
Bug TIVI-2413 Fail to connect to hidden WiFi in Settings
Bug TIVI-3024 wifi auto connection fails after WiFi AP power off then on
Bug TIVI-478 WiFi strength does not shown correctly on status bar after reboot
Bug TIVI-2972 wifi-direct-manager submission submit/tizen/20140325.081551 fails to build for std/emul
Bug TIVI-3060 The settings' property shows “NO INTERNET ACESS” after connected an available wifi through Modello Settings UI
Bug TIVI-2817 [REG] Error pops up while Settings wifi On/Off with wired disabled:“Unable to scan connman:: technology: Timeout was reached”
Bug TIVI-2603 WiFi connection status shown not correctly in Settings app after Settings relaunched
Bug TIVI-2629 video from dlna doesn't play smoothly after wifi network interruption
Bug TIVI-2666 [TIVISBB]WiFi can't auto re-connect after system reboot
Bug TIVI-3103 [REG] Settings app is unable to be activated on ICO after wifi tethering failed
Bug TIVI-2601 VKB keep hiding and popping up when input password for wifi in settings
Bug TIVI-2170 [IVI-ARM 2.0][Pandaboard] Unable to use WiFi tethering in UI setting
Bug Non-standard behavior: When connecting to a secure network and user is entering password, the password field shows clear text. Suggestion: it should show asterisks like most apps’ log-in screens.
Bug No way to clear data: When connecting to a secure network and user enters the connection info, if they make a mistake, there isn’t a way to clear the values after they are attempted. Any future attempts to change them are ignored and the originally entered values are used when attempting to connect to that network.

Release History

Features

  • Wi-Fi class provides list view of available Wi-Fi networks:
    • Detailed information view with signal strength
    • Security or IP address for Wi-Fi network
    • Functionality to connect and disconnect to open and protected Wi-Fi networks
    • Connect to hidden Wi-Fi network by providing SSID and passphrase
    • Mark and unmark Wi-Fi network for auto-connect
    • Enable and disable Wi-Fi tethering with SSID and passphrase entry
    • Turn on and off Wi-Fi adapter

Bug Fixes

Key Summary
TIVI-259 [2.0]Failed to switch WIFI ON from OFF with 80% reproducibility
TIVI-390 WiFi tethering doesn't work
TIVI-2860 Fail to enable wifi tethering in Settings app if just keeping wifi On
TIVI-1909 [TIVISBB] WiFi driver doesn't work
TIVI-2561 Sometimes connman fails to enable wifi (20%)
TIVI-1885 [3.0] net.connman.Error.NotImplemented when trying to scan wifi
TIVI-2570 [REG] Unencrypted WiFi connection fails in Settings app
TIVI-2164 [TIVISBB] WiFi scanning(test-connman scan wifi) doesn't work on SBB device
TIVI-2521 [REG] It fails to connect to encrypted WiFi AP though NFC
TIVI-2849 WiFi tethering UI status show incorrectly after tether turned on
TIVI-3061 Sometimes WIFI can't be turned on through Modello Settings UI
TIVI-1943 [3.0] Initial scan after Wifi is turned on shows net.connman.Error.NoCarrier message
TIVI-164 [REG] clients unable to connect to the tethering wifi service(or get the invalid IP)
TIVI-1044 rfkill tool is unable to change device state for both bluetooth and wifi.
TIVI-1449 [3.0] Fail to surf internet through wifi tethering connection
TIVI-2477 Connecting to protected WiFi network fails with GDBus.Error:net.connman.Error.Failed: Input/output error
TIVI-1888 [3.0] Long time to up WiFi when system boots up with BB
TDIST-145 Fail to automatically connect to the hidden wifi
TIVI-1027 [3.0] wifi tethering does not work
TIVI-2848 Fail to turn on wifi tether on Settings app: Unable to set connman::technology tethering status
TIVI-2412 [REG] WiFi scan is failed in Settings app: “Cannot scan:Unable to scan connman”
TIVI-2106 connman cannot disable/enable wifi and bluetooth properly
TIVI-2411 [REG] Cannot turn On/Off WiFi in Settings
TIVI-811 [WLD] Fail to automatically connect to the hidden wifi
TIVI-2607 [SDK][SettingsApp]error: can not get WiFi state
TIVI-2375 [3.0] Fail to connect WPA WiFi network
TIVI-80 Lack of WIFI firmware for VMC1000(iwlwifi-6000g2b-4.ucode/iwlwifi-6000g2b-5.ucode)
TIVI-2639 connmanctl segfaults when trying to connect to a secure WiFi network
TIVI-2803 Build Failure: wifi-direct-manager fails to build for emulator
TIVI-2065 [3.0] Error occurred when on/off WiFi in Settings App
TIVI-86 wifi and bluetooth are ON with default (first time boot) network configuration
TIVI-2825 WiFi/Wired status will switch from On to Off for a while in Settings app
TIVI-2737 [REG] It fails to load WiFi firmware at system booting up
TIVI-2784 The WiFi password input box of listed AP is not empty once connected an encrypted AP
TIVI-2495 libug-setting-wifidirect-efl fails to build
TIVI-324 [2.0] request for firmware file 'iwlwifi-6000g2b-6.ucode' failed.
TIVI-1922 Iwlwifi module crashing
TIVI-165 Missing firmware file iwlwifi-6000g2b-6.ucode
wifi.1412635742.txt.gz · Last modified: 2014/10/06 22:49 by FGraham