Generic Software/Hardware Connection API for Embedded Devices