3 Replies Latest reply on Jun 27, 2019 5:22 AM by AnjanaM_61

    20706-A2 Classic BT SPP example issue

    ViDa_285426

      Hello,

       

      We are learning BT classic BT connectivity by following WBT101 from Cypress Github (It's work in progress)
      Specifically referring to chapter 6 A, with Classic BT SPP connectivity example explained there in.
      (Attached lessons lab manual pdf file for reference)

       

      We created a Wiced 20706-A2 project and followed code directives as per the lesson.

      On downloading the code to evaluation kit and pairing with a Android device running Serial BT terminal app,

       

      We get pairing OK.
      But on trying to transfer data from Serial Terminal App,
      We get error on PUART :

      Unhandled Bluetooth Management Event: 0x2 (2)

      (attaching terminal output screen shot)

       

      We could not make out, why this is generated or what's wrong in the program
      (Attaching WiCed project zip file)


      Will appreciate help / pointer in resolving the issue.

       

       

      Best Regards,

      Vinay

        • 1. Re: 20706-A2 Classic BT SPP example issue
          AnjanaM_61

          Hi Vinay,

           

          Unhandled Bluetooth Management Event: 0x2 (2) is not an error. It corresponds to wiced bt management event 'BTM_POWER_MANAGEMENT_STATUS_EVT'. (Refer wiced_bt_dev.h)

          From your description, you have mentioned pairing is ok. Could you please confim, After the pairing, did you connected SPP from the BT serial terminal as mentioned in the chapter 6A? Was the SPP connection successful ? Because I didn't see any logs regarding the SPP connection.

          Please click on the connect and see the results.

           

          I would suggest you to test the SPP demo available under 20706 demo first (/20706-A2_Bluetooth/apps/snip/bt/spp) and then try integrating to your project.

           

          Thanks,

          Anjana

          1 of 1 people found this helpful
          • 2. Re: 20706-A2 Classic BT SPP example issue
            ViDa_285426

            Hello,

             

            After pairing with BT serial terminal.

            When we send a data,

            Bluetooth Management Event: 0x2 (2)

            message comes on PUART terminal every time, can not see data on terminal.

             

            Verified all the steps mentioned in Lesson 6A. Still same event message and no data transferred from BT serial to kit.

             

            Will go through bt-spp application code in snip and try to find out why data is not being transferred via SPP.

             

            Best Regards,

            Vinay

             

             

             

            • 3. Re: 20706-A2 Classic BT SPP example issue
              AnjanaM_61

              Hi Vinay,

               

              After pairing, you should click on connect button first after selecting the device name in BT serial terminal window.

              Only if you get a success for that SPP connection, then you can transmit data.

              serial.PNG

              Thanks,
              Anjana

              1 of 1 people found this helpful