Project

General

Profile

Libsamsung-ipc » History » Version 6

« Previous - Version 6/7 (diff) - Next » - Current version
Benedikt Wildenhain, 11/02/2015 11:22 AM
Updated repositorie's URL to replicant's own git service


libsamsung-ipc

libsamsung-ipc is a free software implementation of the Samsung IPC modem protocol, found in many Samsung devices.
libsamsung-ipc contains the device-specific code for transport between the kernel interface and the upper layer (usually, the Radio Interface Layer) and the definition of the data structures and values used ion the protocol.

Development

libsamsung-ipc sources are hosted at: http://git.replicant.us/gitweb/?p=replicant/external/libsamsung-ipc.git branch master. It has support for both the Android build system and autotools.

Status

The library itself is mostly complete: the actual protocol work takes places in the upper layer implementations, so only new devices support is left to be added.

Tools

libsamsung-ipc ships with some tools to ease development.

ipc-modem

ipc-modem is a deprecated tool that was used at the beginning of the work for talking to the Nexus S modem. It implements basic functionalities (mostly SIM unlocking and network registration), using libsamsung-ipc.

usage: ipc-modem <command>
commands:
    start                 boot modem and start read loop
    boot                  boot modem only
    power-on              power on the modem
    power-off             power off the modem
arguments:
    --debug               enable debug messages
    --pin=[PIN]           provide SIM card PIN

ipc-test

ipc-test is a very minimalistic tool that simply boots up the modem and receives messages as they arrive. It is intended to ease boot code development by providing a standalone binary.