RetroArch/apple/iOS/bluetooth/btpad_queue.h

40 lines
1.4 KiB
C
Raw Normal View History

2013-06-19 16:35:32 -04:00
/* RetroArch - A frontend for libretro.
2014-01-01 01:50:59 +01:00
* Copyright (C) 2013-2014 - Jason Fetters
2014-10-04 18:11:39 +02:00
* Copyright (C) 2011-2014 - Daniel De Matteis
2013-06-19 16:35:32 -04:00
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
2014-10-04 18:11:39 +02:00
#ifndef __BTPAD_QUEUE_H__
#define __BTPAD_QUEUE_H__
2013-06-19 16:35:32 -04:00
2014-06-11 12:51:49 +02:00
void btpad_queue_reset(void);
2014-10-04 18:11:39 +02:00
2013-06-19 16:35:32 -04:00
void btpad_queue_run(uint32_t count);
2014-10-04 18:11:39 +02:00
2014-06-11 12:51:49 +02:00
void btpad_queue_process(void);
2013-06-19 16:35:32 -04:00
void btpad_queue_btstack_set_power_mode(uint8_t on);
2014-10-04 18:11:39 +02:00
2014-06-11 12:51:49 +02:00
void btpad_queue_hci_read_bd_addr(void);
2014-10-04 18:11:39 +02:00
2013-06-19 16:35:32 -04:00
void btpad_queue_hci_disconnect(uint16_t handle, uint8_t reason);
2014-10-04 18:11:39 +02:00
2013-06-19 16:35:32 -04:00
void btpad_queue_hci_inquiry(uint32_t lap, uint8_t length, uint8_t num_responses);
2014-10-04 18:11:39 +02:00
void btpad_queue_hci_remote_name_request(bd_addr_t bd_addr,
uint8_t page_scan_repetition_mode, uint8_t reserved, uint16_t clock_offset);
2013-06-19 16:35:32 -04:00
void btpad_queue_hci_pin_code_request_reply(bd_addr_t bd_addr, bd_addr_t pin);
#endif