Libsamsung-ipc » History » Version 7
Paul Kocialkowski, 12/30/2015 06:42 PM
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 | 1 | Paul Kocialkowski | 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. |
5 | |||
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 | h2. Status |
||
13 | |||
14 | 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. |
||
15 | |||
16 | 4 | Paul Kocialkowski | h2. Tools |
17 | 1 | Paul Kocialkowski | |
18 | 4 | Paul Kocialkowski | libsamsung-ipc ships with some tools to ease development. |
19 | 1 | Paul Kocialkowski | |
20 | 4 | Paul Kocialkowski | h3. ipc-modem |
21 | |||
22 | 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. |
23 | 4 | Paul Kocialkowski | |
24 | 1 | Paul Kocialkowski | <pre> |
25 | 4 | Paul Kocialkowski | usage: ipc-modem <command> |
26 | 1 | Paul Kocialkowski | commands: |
27 | 4 | Paul Kocialkowski | start boot modem and start read loop |
28 | boot boot modem only |
||
29 | 1 | Paul Kocialkowski | power-on power on the modem |
30 | power-off power off the modem |
||
31 | arguments: |
||
32 | --debug enable debug messages |
||
33 | --pin=[PIN] provide SIM card PIN |
||
34 | </pre> |
||
35 | |||
36 | 4 | Paul Kocialkowski | h3. ipc-test |
37 | 1 | Paul Kocialkowski | |
38 | 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. |