Chapter 8. Device Access

Communicating with and controlling devices are the primary applications of a service gateway. The device access (DA) allows bundles to interact with devices as objects in the Java virtual machine. It is an optional OSGi component and defines a framework in its own right. It is not used as a service like the Log service or the HTTP service. We first discuss what it intends to achieve (and what it is not designed to do), then explain how it works not only conceptually but also with a hands-on exercise, and lastly provide a comprehensive example in which we configure the serial port through a Web interface using the HTTP service.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.7.240