/haiku/headers/os/bluetooth/ |
H A D | bdaddrUtils.h | 50 static BString ToString(const bdaddr_t bdaddr) in ToString() argument 54 str.SetToFormat("%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",bdaddr.b[5], in ToString() 55 bdaddr.b[4], bdaddr.b[3], bdaddr.b[2], bdaddr.b[1], in ToString() 56 bdaddr.b[0]); in ToString()
|
H A D | LocalDevice.h | 32 static LocalDevice* GetLocalDevice(const bdaddr_t bdaddr);
|
/haiku/src/kits/bluetooth/ |
H A D | CommandManager.cpp | 139 buildRemoteNameRequest(bdaddr_t bdaddr, uint8 pscan_rep_mode, in buildRemoteNameRequest() argument 148 param->bdaddr = bdaddr; in buildRemoteNameRequest() 187 buildPinCodeRequestReply(bdaddr_t bdaddr, uint8 length, char pincode[16], in buildPinCodeRequestReply() argument 200 param->bdaddr = bdaddr; in buildPinCodeRequestReply() 210 buildPinCodeRequestNegativeReply(bdaddr_t bdaddr, size_t* outsize) in buildPinCodeRequestNegativeReply() argument 220 param->bdaddr = bdaddr; in buildPinCodeRequestNegativeReply() 229 buildAcceptConnectionRequest(bdaddr_t bdaddr, uint8 role, size_t* outsize) in buildAcceptConnectionRequest() argument 238 param->bdaddr = bdaddr; in buildAcceptConnectionRequest() 247 buildRejectConnectionRequest(bdaddr_t bdaddr, size_t* outsize) in buildRejectConnectionRequest() argument 257 param->bdaddr = bdaddr; in buildRejectConnectionRequest()
|
H A D | LocalDevice.cpp | 80 LocalDevice::GetLocalDevice(const bdaddr_t bdaddr) in GetLocalDevice() argument 83 request.AddData("bdaddr", B_ANY_TYPE, &bdaddr, sizeof(bdaddr_t)); in GetLocalDevice() 241 const bdaddr_t* bdaddr; in GetBluetoothAddress() local 254 (const void**)&bdaddr, &ssize) == B_OK) in GetBluetoothAddress() 255 return *bdaddr; in GetBluetoothAddress() 595 #warning Writting broadcom bdaddr @ init. in LocalDevice() 604 writeAddress->bdaddr.b[0] = 0x3C; in LocalDevice() 605 writeAddress->bdaddr.b[1] = 0x19; in LocalDevice() 606 writeAddress->bdaddr.b[2] = 0x30; in LocalDevice() 607 writeAddress->bdaddr.b[3] = 0xC9; in LocalDevice() [all …]
|
H A D | DiscoveryListener.cpp | 90 if (bdaddrUtils::Compare(inquiryInfo->bdaddr, b1)) { in MessageReceived() 107 rd = new RemoteDevice(inquiryInfo->bdaddr, in MessageReceived()
|
H A D | RemoteDevice.cpp | 147 bdaddrUtils::Copy(createConnection->bdaddr, fBdaddr); in Authenticate()
|
/haiku/headers/os/bluetooth/HCI/ |
H A D | btHCI_command.h | 56 bdaddr_t bdaddr; member 76 bdaddr_t bdaddr; member 89 bdaddr_t bdaddr; member 209 bdaddr_t bdaddr; member 231 bdaddr_t bdaddr; member 237 bdaddr_t bdaddr; member 243 bdaddr_t bdaddr; member 249 bdaddr_t bdaddr; member 254 bdaddr_t bdaddr; member 261 bdaddr_t bdaddr; member [all …]
|
H A D | btHCI_event.h | 25 bdaddr_t bdaddr; member 37 bdaddr_t bdaddr; member 44 bdaddr_t bdaddr; member 65 bdaddr_t bdaddr; member 145 bdaddr_t bdaddr; member 170 bdaddr_t bdaddr; member 180 bdaddr_t bdaddr; member 185 bdaddr_t bdaddr; member 190 bdaddr_t bdaddr; member 232 bdaddr_t bdaddr; /* destination address */ member [all …]
|
/haiku/src/tests/kits/bluetooth/l2capClient/ |
H A D | l2capClient.cpp | 18 CreateL2capSocket(const bdaddr_t* bdaddr, struct sockaddr_l2cap& l2sa, uint16 psm) in CreateL2capSocket() argument 40 memcpy(&l2sa.l2cap_bdaddr, bdaddr, sizeof(bdaddr_t)); in CreateL2capSocket() 50 printf("Connecting socket for %s\n", bdaddrUtils::ToString(*bdaddr)); in CreateL2capSocket() 82 const bdaddr_t bdaddr = bdaddrUtils::FromString(argv[1]); in main() local 84 int sock = CreateL2capSocket(&bdaddr, l2sa, psm); in main()
|
/haiku/headers/private/bluetooth/ |
H A D | CommandManager.h | 113 void* buildRemoteNameRequest(bdaddr_t bdaddr, uint8 pscan_rep_mode, 117 void* buildPinCodeRequestReply(bdaddr_t bdaddr, uint8 length, char pincode[16], 119 void* buildPinCodeRequestNegativeReply(bdaddr_t bdaddr, size_t* outsize); 120 void* buildAcceptConnectionRequest(bdaddr_t bdaddr, uint8 role, 122 void* buildRejectConnectionRequest(bdaddr_t bdaddr, size_t* outsize);
|
/haiku/src/servers/bluetooth/ |
H A D | LocalDeviceImpl.cpp | 519 reply.AddData("bdaddr", B_ANY_TYPE, &readbdaddr->bdaddr, in CommandComplete() 650 bdaddrUtils::ToString(linkKeyReply->bdaddr).String()); in CommandComplete() 847 bdaddrUtils::ToString(remotename->bdaddr).String(), in RemoteNameRequestComplete() 868 event->link_type, bdaddrUtils::ToString(event->bdaddr).String()); in ConnectionRequest() 874 command = buildAcceptConnectionRequest(event->bdaddr, 0x01 , &size); in ConnectionRequest() 915 new RemoteDevice(event->bdaddr, cod)); in ConnectionComplete() 919 bdaddrUtils::ToString(event->bdaddr).String(), event->handle, in ConnectionComplete() 974 PincodeWindow* iPincode = new PincodeWindow(event->bdaddr, GetID()); in PinCodeRequest() 983 bdaddrUtils::ToString(event->bdaddr).String(), event->role, event->status); in RoleChange() 992 bdaddrUtils::ToString(event->bdaddr).String(), event->page_scan_rep_mode); in PageScanRepetitionModeChange() [all …]
|
H A D | BluetoothServer.cpp | 288 bdaddr_t bdaddr; in HandleAcquireLocalDevice() local 297 (const void**)&bdaddr, &size) == B_OK) { in HandleAcquireLocalDevice()
|
/haiku/src/add-ons/kernel/bluetooth/btCoreData/ |
H A D | BTCoreData.cpp | 53 data->bdaddr, ndev->index); in PostEvent()
|