4 Replies Latest reply on Nov 27, 2019 6:28 PM by XinghaoZ_26

    20706-A2 Classic BT SPP example issue

    JiYa_3557771

      Hi,

       

      I have created project and build an image following " Chapter 6A: Classic Bluetooth - The Wireless Serial Port Profile (SPP)" as attached.

       

      The application is running and the device can be seen and paired. However, I could not see virtual serial ports listed on the COM (device manager).

       

      From the trace, I could see the pairing process has no problem. The problem is connecting. I could not see the trace information from the three SPP callback functions,

      spp_connection_up_callback, spp_connection_down_callback and  spp_rx_data_callback when connecting. it seems that the "wiced_bt_spp_startup(&spp_reg);" has not been executed properly somehow. Or the spp.c file is not linked properly. I don't know.

       

      I have run the snip.bt.spp demo. It works fine and a bluetooth virtual com can been seen.

       

      These two projects should have similar application size after build. However, the eq_spp is smaller (4.7K) thant spp (6.1k). Is something not right with Wiced Studio IDE?

       

      I have seen a similar post here, and has no answer for it.

       

      Could you please have a look to see what is missing in my project.

       

      Thanks