diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-01-03 22:43:05 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-01-03 22:43:05 -0800 |
commit | 4f72c38007343612d4a074d4f4c3997c2c8ab724 (patch) | |
tree | e31ae80107408fb018f69dbe0e8c53e6356e9f73 /monitor/ellisys.h | |
parent | 4b31ab4e37977cde5953b1b734677a375b8d90fc (diff) | |
download | bluez-4f72c38007343612d4a074d4f4c3997c2c8ab724.tar.gz |
monitor: Add support for Ellisys HCI Injection
Diffstat (limited to 'monitor/ellisys.h')
-rw-r--r-- | monitor/ellisys.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/monitor/ellisys.h b/monitor/ellisys.h new file mode 100644 index 000000000..a5313e33c --- /dev/null +++ b/monitor/ellisys.h @@ -0,0 +1,30 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2011-2012 Intel Corporation + * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org> + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <stdint.h> + +void ellisys_enable(const char *server, uint16_t port); + +void ellisys_inject_hci(struct timeval *tv, uint16_t index, uint16_t opcode, + const void *data, uint16_t size); |