LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-08-2015, 06:54 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Connecting to a Bluegiga/Silicon Labs Bluetooth BT121 module with SPP


Folks,

I have successfully over the years conneted to various Bluetooth modules over SPP using the follwing method:

Code:
hcitool scan
Finding the MAC address of the module from the results of that scan, then creating a com port using:

Code:
rfcomm bind /dev/rfcomm0 xx:xx:xx:xx:xx:xx 1
Then I can use a terminal emulator or my own Qt programs to connect the Bluetooth com port and send data just as I would a normal com port.

However, with this BT121 module that I'm using, for the first time, I can't do that. It just refuses to connect. It works fine on OS X.

If I look at the module end I can see that it connects, then disconnects, giving a reason that it was terminated by the remote host (ie the Linux laptop in this case).

I realise that this is likely not enough info to track down the issue, but I'm not sure what information would help and where I could get it from. Does anyone have any suggestions of things to try or further information I could get and give you to help track this down please?

Thanks!
 
Old 12-16-2015, 05:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You sound like you know what you're doing.
A son of mine studying for his bsce once spent 3 weeks googling and downloading bluetooth stacks, drivers of different versions and dlls and compiling as needed (he operated in m$ windows, now in Macs/IOS) and he failed totally with the occasional device.

If at first you don't succeed, give up!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Android device Bluetooth with external Bluetooth module . TheChronicScribbler Linux - Mobile 1 04-21-2014 04:01 AM
Bluetooth linux spp cmosneang Linux - Newbie 0 03-21-2014 01:44 PM
Cambridge Silicon Radio, Ltd Bluetooth Dongle tx timeout problem sss123next Linux - Hardware 2 10-02-2010 03:23 PM
CP210x USB to UART Bridge VCP Linux Drivers(SILICON Labs) perfectpol7 Linux - Hardware 4 09-02-2010 11:59 AM
SIlicon Image 3112 PCI SATA controller; connecting harddrives makes boot fail infinity42 Linux - Hardware 3 12-31-2005 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration