diff --git a/src/servers/bluetooth/HCITransportAccessor.cpp b/src/servers/bluetooth/HCITransportAccessor.cpp index 52c7074bf0..2618380a9e 100644 --- a/src/servers/bluetooth/HCITransportAccessor.cpp +++ b/src/servers/bluetooth/HCITransportAccessor.cpp @@ -1,35 +1,35 @@ -/* - * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com - * - * All rights reserved. Distributed under the terms of the MIT License. - * - */ - - -#include - -#include "BluetoothServer.h" -#include "HCITransportAccessor.h" -#include "Output.h" - -HCITransportAccessor::HCITransportAccessor(BPath* path) : HCIDelegate(path) -{ - - -} - -status_t -HCITransportAccessor::IssueCommand(raw_command rc, size_t size) -{ - if (GetID() < 0 || fFD < 0) - return B_ERROR; - -printf("### Command going: len = %ld\n", size); -for (uint16 index = 0 ; index < size; index++ ) { - printf("%x:",((uint8*)rc)[index]); -} -printf("### \n"); - - - return ioctl(fFD, ISSUE_BT_COMMAND, rc, size); -} +/* + * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com + * + * All rights reserved. Distributed under the terms of the MIT License. + * + */ + + +#include + +#include "BluetoothServer.h" +#include "HCITransportAccessor.h" +#include "Output.h" + +HCITransportAccessor::HCITransportAccessor(BPath* path) : HCIDelegate(path) +{ + + +} + +status_t +HCITransportAccessor::IssueCommand(raw_command rc, size_t size) +{ + if (GetID() < 0 || fFD < 0) + return B_ERROR; + +printf("### Command going: len = %ld\n", size); +for (uint16 index = 0 ; index < size; index++ ) { + printf("%x:",((uint8*)rc)[index]); +} +printf("### \n"); + + + return ioctl(fFD, ISSUE_BT_COMMAND, rc, size); +}