Add HCI command for retieving Local Device Class
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28808 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e33427e19c
commit
a2f8edf787
@ -1,11 +1,8 @@
|
||||
/*
|
||||
* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
|
||||
* Copyright 2008 Mika Lindqvist
|
||||
*
|
||||
* All rights reserved. Distributed under the terms of the MIT License.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _COMMAND_MANAGER_H
|
||||
#define _COMMAND_MANAGER_H
|
||||
|
||||
@ -16,6 +13,7 @@ void* buildReset(size_t* outsize);
|
||||
void* buildReadLocalName(size_t* outsize);
|
||||
void* buildWriteScan(uint8 scanmode, size_t* outsize);
|
||||
void* buildAuthEnable(uint8 auth, size_t* outsize);
|
||||
void* buildReadClassOfDevice(size_t* outsize);
|
||||
|
||||
/* LINK CONTROL */
|
||||
void* buildRemoteNameRequest(bdaddr_t bdaddr,uint8 pscan_rep_mode, uint16 clock_offset, size_t* outsize);
|
||||
|
@ -66,6 +66,12 @@ void* buildReadLocalName(size_t* outsize)
|
||||
}
|
||||
|
||||
|
||||
void* buildReadClassOfDevice(size_t* outsize)
|
||||
{
|
||||
return buildCommand(OGF_CONTROL_BASEBAND, OCF_READ_CLASS_OF_DEV, NULL, 0, outsize);
|
||||
}
|
||||
|
||||
|
||||
void* buildWriteScan(uint8 scanmode, size_t* outsize)
|
||||
{
|
||||
struct hci_write_scan_enable* param;
|
||||
|
Loading…
Reference in New Issue
Block a user