Reply
Thread Tools
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#1
I bought a Belkin CarAudio Connect AUX with Bluetooth, and it works ok when it's connected to my N9. The connecting part is troublesome. You are supposed to press the button once and it should connect, but this doesn't work half the time. If I initiate the connection from the N9, it works every time. For some reason it won't connect automatically.

I have ProfileMatic set up to enable Bluetooth (among other things) once it sees the NFC tag on my car holder. This isn't much use if the phone won't connect automatically, too.

So, is there any way to start the connection process to a known device with a script from the N9?
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#2
Anyone?

I'm not sure if there's something wrong with my phone because it doesn't like to automatically connect to a BH-111 headset, either...
 
Posts: 509 | Thanked: 626 times | Joined on Jul 2012 @ Mexico/Germany
#3
I have en Audio-System in a Mazda and here you can take automatic connection. With this option my N9 connects automatic. Obvios in the N9 Bluetooth configuration you have this activate also.
 

The Following User Says Thank You to chilango For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#4
Now that you mention it, I think I got it to automatically connect to my mom's Ford. Too bad my car doesn't have built in BT...

Is there any way to emulate pressing this button?
 
Posts: 277 | Thanked: 235 times | Joined on Jan 2012
#5
Yes I also have an option to connect automatically on my Pioneer head unit. Works almost instantly when I get into my car and power up the stereo. Hope this helps.
 
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#6
Originally Posted by justadude View Post
Yes I also have an option to connect automatically on my Pioneer head unit. Works almost instantly when I get into my car and power up the stereo. Hope this helps.
Sadly, no. The Belkin has no option to connect automatically and the button (on the Belkin) method isn't reliable. This is why I would like the N9 to initiate the connection.
 
Posts: 7 | Thanked: 6 times | Joined on Jun 2012
#7
Originally Posted by slarti View Post
Now that you mention it, I think I got it to automatically connect to my mom's Ford. Too bad my car doesn't have built in BT...

Is there any way to emulate pressing this button?
hciconfig command might be useful. Not sure how to pair a device but I guess it can't be too hard.
Code:
hciconfig - HCI device configuration utility
Usage:
        hciconfig
        hciconfig [-a] hciX [command ...]
Commands:
        up                      Open and initialize HCI device
        down                    Close HCI device
        reset                   Reset HCI device
        rstat                   Reset statistic counters
        auth                    Enable Authentication
        noauth                  Disable Authentication
        encrypt                 Enable Encryption
        noencrypt               Disable Encryption
        piscan                  Enable Page and Inquiry scan
        noscan                  Disable scan
        iscan                   Enable Inquiry scan
        pscan                   Enable Page scan
        ptype      [type]       Get/Set default packet type
        lm         [mode]       Get/Set default link mode
        lp         [policy]     Get/Set default link policy
        name       [name]       Get/Set local name
        class      [class]      Get/Set class of device
        voice      [voice]      Get/Set voice setting
        iac        [iac]        Get/Set inquiry access code
        inqtpl     [level]      Get/Set inquiry transmit power level
        inqmode    [mode]       Get/Set inquiry mode
        inqdata    [data]       Get/Set inquiry data
        inqtype    [type]       Get/Set inquiry scan type
        inqparms   [win:int]    Get/Set inquiry scan window and interval
        pageparms  [win:int]    Get/Set page scan window and interval
        pageto     [to]         Get/Set page timeout
        afhmode    [mode]       Get/Set AFH mode
        sspmode    [mode]       Get/Set Simple Pairing Mode
        aclmtu     <mtu:pkt>    Set ACL MTU and number of packets
        scomtu     <mtu:pkt>    Set SCO MTU and number of packets
        putkey     <bdaddr>     Store link key on the device
        delkey     <bdaddr>     Delete link key from the device
        oobdata                 Display local OOB data
        commands                Display supported commands
        features                Display device features
        version                 Display version information
        revision                Display revision information
        block      <bdaddr>     Add a device to the blacklist
        unblock    <bdaddr>     Remove a device from the blacklist
        lerandaddr <bdaddr>     Set LE Random Address
        leadv                   Enable LE advertising
        noleadv                 Disable LE advertising
        lestates                Display the supported LE states
f.e. to turn bluetooth on, you just type
Code:
hciconfig hci0 up

EDIT: Seems like connection to the device can be established with
Code:
hcitool cc --role=m 01:02:03:04:05:06 (mac addr)

Last edited by ltz; 2012-07-22 at 09:56.
 

The Following User Says Thank You to ltz For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#8
Thanks, I didn't know such a tool existed.

However, I can't get it to connect with it.

Code:
hcitool dc <address for belkin>
disconnects the Belkin but the cc command just does nothing.

I'll have to experiment with other devices once I get a chance.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 17:11.