btstack/src/bt_control.h
2009-06-03 21:21:12 +00:00

18 lines
510 B
C

/*
* bt_control.h
*
* BT Control API -- allows BT Daemon to initialize and control differnt hardware
*
* Created by Matthias Ringwald on 5/19/09.
*
*/
#pragma once
typedef struct {
int (*on)(void *config); // <-- turn BT module on and configure
int (*off)(void *config); // <-- turn BT module off
int (*valid)(void *confif); // <-- test if hardware can be supported
const char * (*name)(void *config); // <-- return hardware name
} bt_control_t;