A method and apparatus for controlling set-top box hardware and software functions.
An HTTP microserver is used to intercept HTTP requests for access to local devices
and software. When the HTTP microserver receives a URL from the TCP/IP network
stack, it directs instructions to an appropriate interface module that in turn
generates an API call for an appropriate middleware module. The middleware module
may then appropriately control a lower level software module to effect a software
function or to drive hardware.