Introduction - If you have any usage issues, please Google them yourself
Data transmission through Bluetooth is similar to Socket. Using Socket and ServerSocket to control data reading and writing of client and server in network. And Bluetooth communication is also completed by client and server Socket. Bluetooth client Socket is BluetoothSocket, Bluetooth server Socket is BluetoothServerSocket. These two classes are all in the android.bluetooth package.