You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server: Here I declare four BluetoothSockets. Because accept () is a blocking operation, once the connection is successful, it will return to BluetoothSocket, and then continue to wait for the next connection. In this way, we have achieved multiple connections. UUID is the identifier of the server. After obtaining the BluetoothSocket, we can perform related operations to obtain input and output streams. To communicate with each other. by there
The text was updated successfully, but these errors were encountered:
i Bad english。。 but i had test, if start many servicve with different uuid,finally clients will connect one uuid,and only the first work normal!and i test only start one service with one uuid but start many thread to accept client connect ,this help me
Server: Here I declare four BluetoothSockets. Because accept () is a blocking operation, once the connection is successful, it will return to BluetoothSocket, and then continue to wait for the next connection. In this way, we have achieved multiple connections. UUID is the identifier of the server. After obtaining the BluetoothSocket, we can perform related operations to obtain input and output streams. To communicate with each other. by there
The text was updated successfully, but these errors were encountered: