Bluetooth SPP (Serial Port Profile) for CY8CPROTO-062-4343W

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

cross mob
JoCh_1493306
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

Hi,

I tried to implement Bluetooth SPP for CY8CPROTO-062-4343W. However I could not find any AnyCloud example for it. Also, there is no BTSDK example available for this kit. I know this kit can implement BT SPP in WICED Studio like this post mentions: https://community.cypress.com/t5/WICED-Studio-Bluetooth/Where-to-find-standard-SPP-implementation-fo... 

Is there a way we can implement BT SPP for CY8CPROTO-062-4343W on ModulesToolbox?

Thanks!

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

CYW4343W supports Dual-mode classic Bluetooth and classic Low Energy. And Anycloud supports WICED Bluetooth/Bluetooth LE Hosted Stack and BTSTACK as well. So it should be ideally possible to build a RFCOMM application. But in the current AnyCloud releases we do not have an implementation to demonstrate.

https://www.cypress.com/blog/internet-things-iot/introducing-anycloud-flexible-cloud-connected-solut... 

 

So, you might have to develop the whole library and application to create a RFCOMM app. Check the API references here. 

https://cypresssemiconductorco.github.io/btstack/dual_mode/api_reference_manual/html/group__rfcomm__...  

Thanks,

-Dheeraj

 

View solution in original post

0 Likes
2 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

CYW4343W supports Dual-mode classic Bluetooth and classic Low Energy. And Anycloud supports WICED Bluetooth/Bluetooth LE Hosted Stack and BTSTACK as well. So it should be ideally possible to build a RFCOMM application. But in the current AnyCloud releases we do not have an implementation to demonstrate.

https://www.cypress.com/blog/internet-things-iot/introducing-anycloud-flexible-cloud-connected-solut... 

 

So, you might have to develop the whole library and application to create a RFCOMM app. Check the API references here. 

https://cypresssemiconductorco.github.io/btstack/dual_mode/api_reference_manual/html/group__rfcomm__...  

Thanks,

-Dheeraj

 

0 Likes

Hi Dheeraj,

I gave it a try and tried to create my own library to build the RFCOMM application. However, I ran into so many errors and it's been almost a month that I still could not solve this problem.

Is the Bluetooth Host Stack Library the only one that I need to use? Can you let me know what other libraries are required?

In general, can you give me an idea on what the sequence should look like? (What function need to be called for init, for data receive and data transmit?)

The RFCOMM application requirement is to have the device wait for a string sent by the host, and then return a string to the host. How do I set the event call back for receiving a string?

Thank you so much!

0 Likes