Home
last modified time | relevance | path

Searched refs:bdaddr (Results 1 – 13 of 13) sorted by relevance

/haiku/headers/os/bluetooth/
H A DbdaddrUtils.h50 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 DLocalDevice.h32 static LocalDevice* GetLocalDevice(const bdaddr_t bdaddr);
/haiku/src/kits/bluetooth/
H A DCommandManager.cpp139 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 DLocalDevice.cpp80 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 DDiscoveryListener.cpp90 if (bdaddrUtils::Compare(inquiryInfo->bdaddr, b1)) { in MessageReceived()
107 rd = new RemoteDevice(inquiryInfo->bdaddr, in MessageReceived()
H A DRemoteDevice.cpp147 bdaddrUtils::Copy(createConnection->bdaddr, fBdaddr); in Authenticate()
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_command.h56 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 DbtHCI_event.h25 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 Dl2capClient.cpp18 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 DCommandManager.h113 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 DLocalDeviceImpl.cpp519 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 DBluetoothServer.cpp288 bdaddr_t bdaddr; in HandleAcquireLocalDevice() local
297 (const void**)&bdaddr, &size) == B_OK) { in HandleAcquireLocalDevice()
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DBTCoreData.cpp53 data->bdaddr, ndev->index); in PostEvent()