#include <bluemelon/types.h>
#include <bluemelon/dex/types.h>
#include <bluesense/types.h>
Defines | |
| #define | MAX_REGISTERED_DEVICETYPES 255 |
Typedefs | |
| typedef _bsDeviceInterface_registeredDeviceInterfaces * | bsDeviceInterface_registeredDeviceInterfaces_t |
Functions | |
| DECLSPEC char * | bsDeviceInterface_getProxyTypeName (bsDeviceInterface_registeredDeviceInterfaces_t interfaceTablePtr, bluesense_proxytype_t pt) |
| DECLSPEC char * | bsDeviceInterface_getDeviceTypeName (bsDeviceInterface_registeredDeviceInterfaces_t interfaceTablePtr, dex_devtype_t dt) |
| DECLSPEC bsDeviceInterface_registeredDeviceInterfaces_t | bsDeviceInterface_allocInterfaceTable (void) |
| DECLSPEC void | bsDeviceInterface_freeInterfaceTable (bsDeviceInterface_registeredDeviceInterfaces_t interfaceTablePtr) |
Each hardware device has a software description. This socalled interface contains the information which is general across different types of devices. Each interface also contains a pointer to device specific data.
|
|
In an application we can register a maximum of 255 different TYPES of devices. Note: This is different from the fotal number of devices. They are stored in the device instance table. |
|
|
An opaque datastructure pointer to a device interface
|
|
|
Allocates space for a interface table. The table is initalized as well.
|
|
|
Frees a interface table.
|
|
||||||||||||
|
Returns the name of a device class
|
|
||||||||||||
|
Returns the name of a device proxy class
|
1.4.4