BHAPI : BLUEmagic Host API Adding Bluetooth
wireless communications to embedded devices just got easy. Device manufacturers
who want to add Bluetooth functionality without worrying about the details
now have Open Interface's full-featured Bluetooth solution: BHAPI™
- the BLUEmagic® Host Application Programming Interface. BHAPI has
a client/server architecture with a fully documented command/event interface.
The BHAPI Client presents a high-level API to Bluetooth devices, services
and connections. The BHAPI Server is integrated on-chip with select Bluetooth
radio processors and is also available directly from Open Interface. BHAPI
comes with two sets of APIs for your application development: synchronous
C APIs and Java APIs. The use of Java APIs will provide you with a rapid
software development environment.
Architecture of BHAPI software
The BHAPI Client and Server communicate over a variety of transports, including
serial lines (fig. 1), shared memory, and inter-process communication or
pipes (fig. 2).
Device
and service discovery with BHAPI software The BHAPI Server
maintains a database of discovered devices and associated services. A simple
set of functions enables your application to step through the database,
filter for certain service and device types, selectively purge the database,
and more.