SPP connection failed

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

cross mob
lock attach
Attachments are accessible only for community members.
wenchilo
Level 4
Level 4
First like received 25 replies posted 25 sign-ins

Hi, I am developing CYBT-343026 with modus2.4. But I have meet some problems that I can search the eval board"spp test" on my SPP app but I can't connect to the eval board. I have tried three different apps on two smart phones but the result is still the same. I am using sample code RFCOMM_Serial_Port and the following are my log and air log.

Thanks

 

0 Likes
1 Solution

Please try to change the SPP_RFCOMM_SCN to 1 as follows to see if the connection can be successful:

#if defined (CYW20706A2)
#define SPP_RFCOMM_SCN 1
#else
#define SPP_RFCOMM_SCN 1
#endif

View solution in original post

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

The spp demo works fine on the WICED SDK per my test. 

There may be some change in the btstack on modus which causes the problem.

Could you use the WICED SDK for your development? You can use the WICED 6.2.1:

https://www.infineon.com/cms/en/design-support/tools/tools-archive/wiced-studio-archive/#!documents

0 Likes
wenchilo
Level 4
Level 4
First like received 25 replies posted 25 sign-ins

But I need to use IAP. Is WICED able to develop IAP?

0 Likes
0 Likes
wenchilo
Level 4
Level 4
First like received 25 replies posted 25 sign-ins

Cause we have apply and  get mtb-example-btsdk-pro-iap2.zip. And all the guide is for all modustoolbox. Do you have a guide for how to import iap into wcied IDE? 

0 Likes

Please try to change the SPP_RFCOMM_SCN to 1 as follows to see if the connection can be successful:

#if defined (CYW20706A2)
#define SPP_RFCOMM_SCN 1
#else
#define SPP_RFCOMM_SCN 1
#endif

0 Likes