Project

General

Profile

Libsamsung-ipc » History » Version 10

dl lud, 07/04/2020 10:51 AM
Fix typo.

1 1 Paul Kocialkowski
h1. libsamsung-ipc
2
3 3 Paul Kocialkowski
libsamsung-ipc is a free software implementation of the Samsung IPC modem protocol, found in many Samsung devices.
4 10 dl lud
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 in the protocol.
5 1 Paul Kocialkowski
6
h2. Development
7
8 7 Paul Kocialkowski
9
The "libsamsung-ipc source code":https://git.replicant.us/replicant/external_libsamsung-ipc is hosted by the Replicant project. The latest version is available on the @master@ branch.
10
It has support for both the Android build system and autotools.
11 1 Paul Kocialkowski
12 9 Denis 'GNUtoo' Carikli
h2. Other project using it or having used it without libsamsung-ril
13
14
* "Freesmartphone.org Cornucopia":https://github.com/freesmartphone/cornucopia/tree/master/fsogsmd/src/plugins/modem_samsung
15
16 1 Paul Kocialkowski
h2. Status
17
18 8 Wolfgang Wiedmeyer
The library itself is mostly complete: the actual protocol work takes place in the upper layer implementations, so only new devices support is left to be added.
19 1 Paul Kocialkowski
20 4 Paul Kocialkowski
h2. Tools
21 1 Paul Kocialkowski
22 4 Paul Kocialkowski
libsamsung-ipc ships with some tools to ease development.
23 1 Paul Kocialkowski
24 4 Paul Kocialkowski
h3. ipc-modem
25
26 5 Paul Kocialkowski
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.
27 4 Paul Kocialkowski
28 1 Paul Kocialkowski
<pre>
29 4 Paul Kocialkowski
usage: ipc-modem <command>
30 1 Paul Kocialkowski
commands:
31 4 Paul Kocialkowski
	start                 boot modem and start read loop
32
	boot                  boot modem only
33 1 Paul Kocialkowski
	power-on              power on the modem
34
	power-off             power off the modem
35
arguments:
36
	--debug               enable debug messages
37
	--pin=[PIN]           provide SIM card PIN
38
</pre>
39
40 4 Paul Kocialkowski
h3. ipc-test
41 1 Paul Kocialkowski
42 4 Paul Kocialkowski
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.