- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm developing a Alexa gadget using cyw20735.
I success a paring with Amazon Echo. but I can not reconnect after disconnection.
I attempted process following:
*Device Reset -> Interrupt ->
wiced_bt_spp_connect(bda);
----------------------------------------
<log>
p_scb->server_addr :44 00 49 26 88 d7
spp_sdp_cback
spp_sdp_cback status:0x0
spp_scb :01 01 00 00 00 00 00 44 00 49 26 88 d7 00 00 00 18 c1 24 00
spp_sdp_find_attr
Looking for SPP service
p_scb->server_addr :44 00 49 26 88 d7
spp_sdp_find_attr() - could not find SPP service
spp_rfcomm_start_server
spp_rfcomm_start_server
spp_rfcomm_start_server: rfcomm_create Res: 0x0 Port: 0x0004
spp_connection_not_found_callback
spp_sdp_free_db
------------------------------------------
please let me know how to reconnection process.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Han,
Amazon echo seems to support only A2DP & AVRCP BT profiles https://www.amazon.com/gp/help/customer/display.html?nodeId=202179330
So You can't do a SPP connection with Amazon echo from your Alexa gadget I think.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know the WICED studio version which you are using?
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, anam!
I'm using WICED Studio™ v6.2.1.
Thanks,
Han
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Han,
Could you please check if in the spp_lib.c ( /20735-B0_Bluetooth/libraries/spp_lib/spp_lib.c ) file whether RFCOMM_RemoveServer (p_scb->rfc_serv_handle); function is used (in functions wiced_bt_spp_connect , spp_rfcomm_do_open) ?
If then, could you please replace it with below function call and try if it fix the issue
wiced_bt_rfcomm_remove_connection ( p_scb->rfc_serv_handle, WICED_TRUE ); |
If this is not fixing the reconnect issue, please provide the below details for further proceeding:
1. Please share spp_lib.c file in your SDK (without modifying)
2. Please share your spp project and steps to reproduce the issue.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Anjana
Thanks your reply!
I can not fix this problem about reconnect issue.
I atteched spp_lib.c and spp project .
source link : https://drive.google.com/open?id=1XOM61kZ0wvet_LCS0t8AEIOHS48BpGe4
Thanks,
Han.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Han,
Amazon echo seems to support only A2DP & AVRCP BT profiles https://www.amazon.com/gp/help/customer/display.html?nodeId=202179330
So You can't do a SPP connection with Amazon echo from your Alexa gadget I think.
Thanks,
Anjana