xref: /haiku/headers/private/bluetooth/CommandManager.h (revision cfc3fa87da824bdf593eb8b817a83b6376e77935)
1 /*
2  * Copyright 2007 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3  *
4  * All rights reserved. Distributed under the terms of the MIT License.
5  *
6  */
7 
8 #ifndef _COMMAND_MANAGER_H
9 #define _COMMAND_MANAGER_H
10 
11 #include <bluetooth/bluetooth.h>
12 
13 /* CONTROL BASEBAND */
14 void* buildReset(size_t* outsize);
15 void* buildReadLocalName(size_t* outsize);
16 void* buildWriteScan(uint8 scanmode, size_t* outsize);
17 void* buildAuthEnable(uint8 auth, size_t* outsize);
18 
19 /* LINK CONTROL */
20 void* buildRemoteNameRequest(bdaddr_t bdaddr,uint8 pscan_rep_mode, uint16 clock_offset, size_t* outsize);
21 void* buildInquiry(uint32 lap, uint8 length, uint8 num_rsp, size_t* outsize);
22 
23 /* OGF_INFORMATIONAL_PARAM */
24 void* buildReadBufferSize(size_t* outsize);
25 void* buildReadBdAddr(size_t* outsize);
26 
27 #endif
28