Hi, Below changes allow to test RFCOMM data transfer and add simple test to check it. Two new functions are added to bthost API: bthost_add_channel_hook(), which handles data received on bthost on specific channel and connection handle and bthost_send_uih(), which forms RFCOMM UIH frame and send it. These changes depends on previous fixes with frame length checks. Comments are welcome Regards Marcin Kraglak (6): emulator/bthost: Add api to handle RFCOMM data on bthost tools/rfcomm-tester: Add RFCOMM client write test case tools/rfcomm-tester: Add RFCOMM server write test case emulator/bthost: Add function to send RFCOMM UIH frames from bthost tools/rfcomm-tester: Add RFCOMM client read test case tools/rfcomm-tester: Add RFCOMM server read test case emulator/bthost.c | 113 +++++++++++++++++++++++++++-- emulator/bthost.h | 11 +++ tools/rfcomm-tester.c | 194 +++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 313 insertions(+), 5 deletions(-) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html