mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 15:40:11 +00:00
18 lines
510 B
C
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;
|