RFCOMM
lastmod 2026-11-10created 2022-10-202 edits
RFCOMM is a transport protocol in the Bluetooth protocol stack that emulates an RS-232 serial port. It runs on top of L2CAP and provides a reliable stream connection between two devices, so it underlies several Bluetooth profiles, including the Serial Port Profile (SPP). On Linux, BlueZ and PyBluez let you open an RFCOMM channel through the socket API and exchange data as with serial communication.