Could you please let us know the WICED studio version which you are using?
I'm using WICED Studio™ v6.2.1.
1 of 1 people found this helpful
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 your reply!
I can not fix this problem about reconnect issue.
I atteched spp_lib.c and spp project .
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.