-
Notifications
You must be signed in to change notification settings - Fork 63
BIP_Extensions
Modern (U)SIM cards have been enhanced by many more functionalities than simple user authentication. One of those enhanced functionalities is the smart card web server (SCWS). The SCWS delivers web pages using the HTTP protocol. These web pages (e.g. the phone book) can be shown within the mobile phone's web browser, and so offer an enhanced user experience to the mobile phone user.
These data are transported between browser and UICC via Bearer Independent Protocol.
Basically BIP consists of five proactive commands (OPEN CHANNEL, CLOSE CHANNEL, SEND DATA, RECEIVE DATA and GET CHANNEL STATUS) and two events (Data available and channel status). It allows the UICC to exchange data to a remote Server in the Network or serve data to a local browser.
This BIP extension patch based on a proof of concept which enabled the SCWS for Android. With the aid of ST Ericsson the SCWS patch was re-designed and extended to the BIP extension.
- Enables Android to support BIP with default (network) bearer and BIP in server mode.
- Supports BIP client with TCP/UDP connection (local and remote).
- Supports BIP in TCP Server mode.
- Extends the STK framework with support of the STK commands SET_POLL_INTERVAL, SET_UP_EVENT_LIST, OPEN_CHANNEL, CLOSE_CHANNEL, SEND_DATA, RECEIVE_DATA and GET_CHANNEL_STATUS.
- Supports CHANNEL_STATUS and DATA_AVAILABLE Event with crosscheck to event list provided by SET_UP_EVENTLIST.
- Uses data connections in PDP context.(PDP = Packet Data Protocol e.g. IP or X25 or PPP)
- Supports only IPv4 connections.
- Only immediate link establishment is supported not background or on-demand.
- Alpha identifier is currently only supported for OPEN_CHANNEL, and not for CLOSE_CHANNEL or SEND/RECEIVE_DATA.
- No support for Other Address (Local Address) TLV in OPEN_CHANNEL, value will if present be ignored and no Local Address TLV will be included in the TERMINAL_RESPONSE either.
- Baseband has to support multiple PDP.
- Runs currently only in Emulator, if you don't have a baseband which forwards the BIP STK commands.
You need to extract the archive, then you will get three patches to be applied to the android sources.
- STK enabling patch. This patch is optional, it is necessary to enable STK support within android. You don't have to apply this patch if you already use the STK application in Android.
Apply patch with
patch -p1 -i bip-extensions-stk-0_9.patch
- STK Application patch (mandatory). This patch extends the STK application packages with code for user interaction (e.g. confirming OPEN CHANNEL command.)
Apply patch with
patch -p1 -i bip-extensions-apps-0_9.patch
- STK framework patch (mandatory). This patch contains almost all functionality of the BIP extension.
Apply patch with
patch -p1 -i bip-extensions-frameworks-0_9.patch
within the root directory of your android source.
- Built and developed on Android 2.3.5_r1.
- Emulator extension patch from SmartCardAPI 2.2.2.
The bip extension patch enables support for SCWS to the Android framework. Once the patches have been applied, web pages on an SCWS enabled SIM card can be accessed under the URL http://localhost:3516/.
-
Johan Hellman former ST Ericsson
-
Teddie Stenvi at ST Ericsson teddie.xx.stenvi@stericsson.com
For support please use the SEEK mailing list seek-for-android@googlegroups.com
- ETSI 102.223 Card Application Toolkit (CAT)
- Introduction
- How To
- Access Control
- UICC Support
- ASSD Support
- MSC Support
- PC/SC Interface
- Service Layer
- Applications
- FAQS
- Abbreviations
- Contributions