Is there any example on bt rfcomm client and server ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JeNg_3501476
Level 1
Level 1
Distributor - Arrow(GC)
Welcome!

Have found it in some old sdk but the API seems changed in latest SDK.

Please advise.

Thanks

0 Likes
1 Solution

Please refer to the demo hci_audio_gateway. It shows the application for RFCOMM in hci_control_ag_rfcomm.c.

View solution in original post

5 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Which SDK and device are you using?

0 Likes
JeNg_3501476
Level 1
Level 1
Distributor - Arrow(GC)
Welcome!

WICED SDK 6.2 and CYW20706

Thanks

0 Likes

Please refer to the demo hci_audio_gateway. It shows the application for RFCOMM in hci_control_ag_rfcomm.c.

David_Zhang
Level 5
Level 5
Distributor - Arrow(GC)
First like received 50 sign-ins 25 sign-ins

HI  Xiao:

   if  we download the firmware to the CYBT343026-01 of  hci_control_ag_rfcomm.c, how can we get to use it ??

0 Likes

The demo shows how to create a SPP connection with the RFCOMM APIs. You can use the client control to send HCI commands.

Then create a SPP connection with another device.