On 15Aug2012 23:07, alexfishersalias <[email protected]> wrote:
| Hi - I have been using a bluetooth module (RN41) to connect an Arduino
| to an Android phone using an ap called 'Bluetooth Chat'. This lets me
| pass ascii characters between the devices.
| 
| I'm trying to replace the Android device with a Bluetooth (adapter)
| enabled pc running Ubuntu 10.04 LTS.
| 
| I'v connected to the Bluetooth module and been informed that the
| connection is available via /dev/rfcomm0.
| 
| Does anyone know a simple(?) way to send & receive characters via 
/dev/rfcomm0?

I would naively expect it to be an normal looking serial device.
Open it, read and write strings. Use stty or ioctl or termios to set the
speed if relevant.

Otherwise, more background info needed.

Disclaimer: I've used serial devices including GSM modems but haven't
done anything technical with Bluetooth. But if it presents as a
character device (ls will tell you that) then it should just let you
open it and do I/O with read/write.

What's your implementation language?
-- 
Cameron Simpson <[email protected]>

The nice thing about standards is that you have so many to choose from;
furthermore, if you do not like any of them, you can just wait for next
year's model.   - Andrew S. Tanenbaum


------------------------------------

To unsubscribe from this list, please email 
[email protected] & you will be removed.Yahoo! Groups 
Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to