ADB Commands for SPP-RFCOMM

This is a discussion on ADB Commands for SPP-RFCOMM within the Rescue Squad Help forums, part of the Android Rescue Squad Support Forum category; Hi Rescue Squad, This is my first post, glad to be on the forum I'm conducting bluetooth protocol testing on an Android 2.3.3 phone. I ...

Results 1 to 3 of 3

Thread: ADB Commands for SPP-RFCOMM

  1. #1
    Android Lurker Mctwist's Avatar
    Join Date
    Aug 2012
    Posts
    3

    ADB Commands for SPP-RFCOMM

    Hi Rescue Squad,

    This is my first post, glad to be on the forum

    I'm conducting bluetooth protocol testing on an Android 2.3.3 phone.
    I have the device in USB debugging mode connected to my windows 7 PC, using cmd to fire commands to the device.

    The problem: I'm unable to figure out how to submit an SDP-query. Let me set the scene, the test case:
    "Verify that the IUT establishes a connection to an emulated serial port in the Tester. The IUT is a device taking on the role as DevA. The Tester is Acceptor"... n.b. the tester is the test machine that the android device (IUT) should be talking to.

    The first step, which is where i'm stuck: "Submit a query using SDP to find out the RFCOMM Server channel number of the desired application in the remote device. This might include a browsing capability to let the user select among available ports (or services) in the peer device. Alternatively, if it is known exactly which service to contact, it is sufficient look up the necessary parameters using the Service Class ID associated with the desired service."

    The device:
    Stock - don't know how to root the device lol!
    Not overclocked.
    Bluetooth 2.1 version 1.0.46.0

    So far i've tried the following.
    Enter the adb shell,
    rctest -u [BT address of test machine] , sometimes i get 'can't connect, now in progress' or 'cant connect to host' and even regardless of running the test case or not.
    also tried: rctest -u [BT address of test machine] and it will indefinitely wait on channel 10 :S

    I just think im missing something big which is preventing me from progressing any further.

    Any help would be greatly appreciated.
    Dan

  2. Android.net is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Android Lurker Mctwist's Avatar
    Join Date
    Aug 2012
    Posts
    3
    sdptest -i B <bdaddr>
    Can't connect to SDP service: Host is down

  4. #3
    Android Lurker Mctwist's Avatar
    Join Date
    Aug 2012
    Posts
    3
    Making a tiny amount of progress here:
    I've connected to the tester by pairing with it. The issue seems to be using the ADB commands successfully. For example, trying to initiate an L2CAP connection with the tester: i've input l2test -n (bluetooth address of test machine). All i seem to be able to get is l2test[1127]: can't connect: Host is down <112>

Remove Ads

http://www.scramblerducati.org/

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. cant find commands to do...
    By vampke in forum Android Forum
    Replies: 1
    Last Post: 10-07-2011, 08:02 PM
  2. WARNING - Fastboot commands to avoid!
    By marvin_attdroids in forum Dell Streak 5
    Replies: 0
    Last Post: 07-03-2011, 03:49 AM

Search tags for this page

adb bluetooth commands
,

adb bluetooth pairing

,
adb over rfcomm
,
android adb bluetooth pair howto
,
android adb test bluetooth
,
android bluetooth at command adb
,
android bluetooth spp problem
,
android bluetooth what is the adb command to pair
,
android bluetooth what is the adb command to pair#gsc.tab
,
bluetooth l2teset
,
content
,

rfcomm commands

,

rfcomm.net

,
spp rfcomm
,
windows android test connection rfcomm
Click on a term to search our sites for related topics.
Android Forum