Home
last modified time | relevance | path

Searched refs:TYPE_RFCOMM (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/test/unittest/spp/
H A Dspp_test.cpp55 …sppClientSocket_ = std::make_shared<ClientSocket>(*pbluetoothRomote_, randomUuid_, TYPE_RFCOMM, fa… in SetUp()
103 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM);
125 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM);
142 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM);
157 ClientSocket *pfd_SppClientSocket = new ClientSocket(fd, device_.GetDeviceAddr(), TYPE_RFCOMM);
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_socket.cpp773 if (type == TYPE_RFCOMM) { in ConvertTypeToString()
880 return std::make_shared<ClientSocket>(device, uuid, TYPE_RFCOMM, false); in BuildInsecureRfcommDataSocketByServiceRecord()
892 return std::make_shared<ClientSocket>(device, uuid, TYPE_RFCOMM, true); in BuildRfcommDataSocketByServiceRecord()
903 return std::make_shared<ServerSocket>(name, uuid, TYPE_RFCOMM, false); in DataListenInsecureRfcommByServiceRecord()
909 return std::make_shared<ServerSocket>(name, uuid, TYPE_RFCOMM, true); in DataListenRfcommByServiceRecord()
/ohos5.0/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_socket.h48 TYPE_RFCOMM = 0x0, enumerator