- Remove size output parameter creating commands

- Add support for reading the size of internals buffers of the bt chips
- Add support for Resetting the Device
- Add broadcom vendor command fro writting the bdaddr
- clean up the debug output



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29669 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes
2009-03-23 23:07:07 +00:00
parent ce65700663
commit dd5df90570
7 changed files with 100 additions and 41 deletions
+6 -1
View File
@@ -351,9 +351,14 @@ struct hci_command_header {
#define OGF_STATUS_PARAM 0x05
/* Testing commands */
#define OGF_TESTING_CMD 0x3E
#define OGF_TESTING_CMD 0x06
/* Vendor specific commands */
#define OGF_VENDOR_CMD 0x3F
#define OCF_WRITE_BCM2035_BDADDR 0x01
struct hci_write_bcm2035_bdaddr {
bdaddr_t bdaddr;
} _PACKED;
#endif // _BTHCI_COMMAND_H_
+2
View File
@@ -52,6 +52,8 @@ private:
virtual ~LocalDevice();
status_t ReadLocalVersion();
status_t ReadBufferSize();
status_t Reset();
hci_id GetID(void) {return hid;}
static LocalDevice* RequestLocalDeviceID(BMessage* request);