This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Adding SPP to the available WL1271 BT profiles

Other Parts Discussed in Thread: WL1271

I've successfully added WL1271 support  (v03.00.01.06-WL6.1.6.0) to our custom OMAP 3530 board. Working through the bluetooth capabilities as setup in the release, it doesn't appear that the Serial Port Profile is active. In the file bluetooth/etc/bluetooth/serial.conf it appears there are options to obtain a /dev/ttyX device for SPP support. With that though, I'm not clear on what the required steps are to activate SPP bluetooth support. on the wl1271. Any help/advice would be much appreciated.

Thanks,

Bill Riba

  • Hi Bill Riba,

    Even though there is no demo script is available for SPP in the Beta2 release (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/ecs/WL1271_Linux_SDK/3_00_01_06/index_FDS.html), it is enabled on OMAP3 EVM by default when you run the BT_Demo.sh script.  Supported profiles like OBEX Push. OBEX FTP and HFP are dependent upon SPP. If you don't have an application for SPP to test (SPP server -simple data transfer agent that sets up the listening sockets and handle clients), it is possible to verify it by enabling remote terminal console over Bluetooth on the EVM. You can perform the following steps to enable remote console.;

    1. Bring up Wl1271-BT (BT_Demo.sh)

    2. Exit without shutting down BT (Option #10)

    3. Run the following commands at Linux prompt on EVM;
     
      #   /usr/local/wl1271/wl1271_bluetooth/bin/sdptool add SP
      #  while [ 1 ];do /sbin/getty -n -l /bin/sh 115200 /dev/rfcomm0 vt100;done &
     #   while [ 1 ];do /usr/local/wl1271/wl1271_bluetooth/bin/rfcomm -r listen 0 1 2>&1 > /dev/null;done &

    4. Connect a terminal program from PC (Windows):
       a.    Search for services on EVM
       b.    Connect to EVM's BluetoothSerial Port, this will provide a COMx port
       c.    Use terminal program Hyper Terminal, select COMx and connect.

    Now, you will be able to access the EVM console on your PC over Bluetooth.


    Thanks,
    Sinoj

  • Hi Sinoj -

    Thank you very much. I will test the above steps to verify serial access from a BT client's serial port. 

    One additional question. To verify that legacy serial applications on the EVM side have access to a BT serial port device (e.g. /dev/rfcomm0), do I simply remove/replace the 2nd Linux prompt command in the above with the desired serial application? An example would be to run minicom from the EVM side. 

    Regards,

    Bill Riba

     

     

     

  • Hi Bill Riba,

    We have not tested other applications on the EVM.

    Thanks,

    Sinoj

  • To follow up, the SPP test above works. If my project requires it, I'll return to the legacy application serial support issue.

    Thanks Much,

    Bill Riba