- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I am using CYBT-343026
And I want to connect to cellphone by calling wiced_bt_spp_connect(), but it doesn't work and seems thak the evaluation board will crash and reset.
Is there anything I need to do before calling wiced_bt_spp_connect()?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can configure the BD ADDR in the makefile like follows:
BT_DEVICE_ADDRESS?=123456456123#default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you open the spp port on the phone with an app first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not sure what iOS means here or if I should make rfcomm connection first
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I have open a spp app on my phone first
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What's the peer device? Android or IOS? The IOS device doesn't support the SPP profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's an android cellphone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The API doesn't need a RFCOMM connect first. Per my test before, it may be caused by the peer app. Some app may fail to create the connection.
You can try to create a connection between two modules. Or you can also try other spp app on your phone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to connect two modules, how can I change their bd_addr?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can configure the BD ADDR in the makefile like follows:
BT_DEVICE_ADDRESS?=123456456123#default