This will make RFCOMM UIH frame and fill with data passed by user. It also adds bthost internal tracking of RFCOMM connections to store cid and channel - user have to pass only conenction handle and channel.
e157b7f emulator/bthost: Add function to send RFCOMM UIH frames from bthost
emulator/bthost.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++
emulator/bthost.h | 4 +++
2 files changed, 101 insertions(+)
Upstream: git.kernel.org