3.1 Architecture and Function
®
2N
IndoorTouch
API
is based on a daemon written in C, which forms a layer above
the OS Linux core. It periodically executes such necessary actions as network
configuration check, licence validity check, LED control, etc. and provides a function
interface via the C library. It communicates with the library via the Unix socket. This
library can be used by other C programs (for update and recovery modes, e.g.) too.
The library is also included in Android API, where a Java interface android.hardware.
IndoorTouch is created that makes it possible to call the library functions via the JNI.
The interface in Java is the android.hardware.IndoorTouch class.
2N TELEKOMUNIKACE a.s., www.2n.cz
7/42