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 .

Access the .

Download the .

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-786 [WLD]Browser will crash when open webgl webpage
TIVI-2383 Browser cannot be launched
TIVI-287 [REG][2.0]Segmentation fault occurred when launching Browser with command line
TIVI-532 Browser is unable to render content, just white screen
TIVI-847 [WLD] Browser crashed when click menus in more option button
TIVI-793 [WLD] Unable to close apps by clicking close button on GhostCluster/Browser/Dialer
TIVI-275 [2.0] Fail to render any web pages in Browser which is launched by command
TIVI-305 Fail to play html videos(implemented by video tag) in Browser
TDIST-376 no way to set “Location” on browser before running Geolocation tests on Lunchbox
TIVI-1689 ICO HomeScreen is unable to launch browser
TDIST-330 [CSSFixedPositioning] No test results display on browser.
TDIST-132 Browser incorrectly handles HTTP authentication
TIVI-669 Failed to play html audio/video in Browser
TDIST-447 Websimulator dosen't work in the latest chrome browser
TIVI-504 ENABLE_DFG_JIT causes browser to crash
TIVI-381 Fail to play html audio(implemented by audio tag) in Browser
TIVI-2672 [TIVISBB] MiniBrowser page is disappeared when playing video in Browser
TIVI-1889 MiniBrowser closed unexpectedly before Sunspider benchmark is finished
TIVI-2140 MiniBrowser sometimes cannot be closed after visit Google aquarium benchmark
TIVI-2276 [REG]MiniBrowser returns “request cancelled” Error
TIVI-1060 [3.0] [Minibrowser] Address bar excessively responds keyboard input sometimes
TIVI-1859 [3.0] MiniBrowser app exits immediately after launched in VMware Player
TIVI-1771 [3.0][REG]Minibrowser is not visible in ico UI
TIVI-2647 [REG] MiniBrowser cannot be launched
TIVI-2810 [SDK][NativeApp] launch MiniBrowser from command “MiniBrowser” have “elementary elm_config.c” fail
wifi.1412206114.txt.gz · Last modified: 2014/10/01 23:28 by FGraham