Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Jan 2017 03:34 PM by  mvly
Bluetooth SPP profile support on Android 2.3.4?
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mvly
Basic Member
Basic Member
Posts:104


--
30 Dec 2016 04:01 PM

    I tried to connect the Torpedo wireless module with my phone so I can send it some Serial message using the bluetooth SPP profile. However all the apps I have tried says it cannot connect to the device. Pairing and transferring file to the Torpedo works fine. Transferring files from the Torpedo does not work though.

     

    Any ideas how to add the SPP profile? Do I have to upgrade the TI WL1283 firmware? If so how do one do so?

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    03 Jan 2017 09:04 AM
    My understanding is that RFCOMM is the Serial Port Protocol. (See: http://stackoverflow.com/...ooth-spp-in-android)

    RFCOMM is built into the kernel and upgrading the firmware shouldn't make any difference. Upgrading the firmware would also require a newer kernel driver. We have a backported kernel driver for our Linux distribution with newer firmware, but it didn't get ported to Android.

    Gingerbread 2.3.4 is API 10 (See: https://source.android.com/source/build-numbers.html)

    I would look at https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html and select API 10 from the menu. They have some API instructions for RFCOMM with API10. Let me know if that helps.

    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    03 Jan 2017 10:50 AM

    Thanks for the info. I'll look into this can get back with the answer.

    mvly
    Basic Member
    Basic Member
    Posts:104


    --
    05 Jan 2017 03:34 PM

    So it works using BluetoothChat program example on android. However it seems a bit unreliable. This might be the android code itself. I will do more test to verify.

    You are not authorized to post a reply.