4 Replies Latest reply on Nov 5, 2019 4:58 AM by NiAr_4554681

    Virtual COM port question

    NiAr_4554681

      Hello,

      Sorry if this is a stupid question. I need a virtual COM port between MCU UART and Bluetooth. Some competitors' products have a mode in which you can use the Bluetooth module as a peripheral device connected to an MCU.

      The "CYBT-483039-02 EZ-BT™ XR WICED MODULE" has great specs and would be a strong alternative, but it is not clear if what I want can be done or how much work it would require.

      I have looked at the below links:

      https://community.cypress.com/docs/DOC-16170
      https://community.cypress.com/community/wiced-studio-blueooth/wiced-studio-bluetooth-forums/blog/2019/06/27/run-cyw20706-in-hci-mode
      https://community.cypress.com/message/183201#183201

       

      Also, the user forum doesn't work properly with Firefox.

       

      Thanks in advance

      Niclas

        • 1. Re: Virtual COM port question
          DiBr_284171

          Hi Niclas,

          Don’t know
          exactly of what you want to do. If your application involves communication between
          a PC’s virtual com port and a MCU com port then consider using a Bluetooth transceiver
          module with SSP (serial port protocol) such as an HC-5. These modules are easy
          to use and can be configured (using AT commands) as master or slave with settable
          baud rates. Two are required to carry out communication between an MCU and PC -
          one master and one slave. See

          https://www.ebay.ca/itm/30ft-Wireless-Bluetooth-RF-Transceiver-Module-serial-RS232-TTL-HC-05-for-arduino/302050974916?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

           

          James

           

          2 of 2 people found this helpful
          • 2. Re: Virtual COM port question
            NiAr_4554681

            Hi James,

             

            Thank you very much. You have understood what I want to achieve and also gave me the information I need to rephrase my question:

             

            I need Serial Port Profile (SPP) support in Bluetooth Classic (which if I understand correctly is part of the Bluetooth specification which means that Bluetooth modules from different vendors can form an SPP "link".)

             

            However, with Bluetooth v5.0 came a specification for "LE Long Range", so I also want what seems to be referred to as "SPP over BLE", which unfortunately is proprietary due to SPPoverBLE not being part of the Bluetooth specification, which in practical terms means that the Bluetooth modules that form an SPPoverBLE link must come from the same vendor. At least Texas Instruments and Silabs have documents describing their solutions.

             

            From a hardware perspective, the Cypress "CYBT-483039-02 EZ-BT XR WICED MODULE" is one of the best platforms, with support for Bluetooth v5.0 dual mode and mesh. (But not LE Long Range?)

             

            Do I understand correct that I could use this module but would have to create my own firmware using Wiced Studio with its SDK?

             

            Provided that this assumption is correct, does anybody know if Wiced Studio + SDK has sample code/solutions matching my needs?

             

            Best regards

             

            Niclas

            • 3. Re: Virtual COM port question
              SheetalJ_96

              Hi Niclas,

               

              We have code examples ready to work with CYBT-483039 module in WICED SDK. I would suggest you to go through /20719-B1_Bluetooth/apps/snip/bt/spp demo example in WICEd SDK 6.2.1. It will be a good start for you.

               

              Sheetal

              2 of 2 people found this helpful
              • 4. Re: Virtual COM port question
                NiAr_4554681

                Thank you Sheetal,

                 

                I will have a look.

                 

                Best regards

                 

                Niclas