Thread
:
rfcomm settings
View Single Post
mbertazz
2006-08-22 , 21:32
Posts: 7 | Thanked: 1 time | Joined on Mar 2006
#
1
hi,
i'm writing a simple cmd-line application based on serial bt communication to a bt reader.
Yes, this app is very similar to a gps-based application, but...
what i did:
* hcitool scan
and find reader's bt address , OK
* rfcomm connect 0 [BT ADDRESS] 1 &
and connect to bt reader creating /dev/rfcomm0 , OK
I have to use a perl script to open the serial port, but there's something wrong...
I think
it's a serial port setting problem: how can i set flow control, speed etc.?
BtPlugin and other tool do automatically, but i have to do it using command line or using perl.
My perl script (php too) worked well on windows/linux uding mode/setserial using a pcmcia device on a serial port...
Can you help me?
Thank you in advance,
mbertazz
Quote & Reply
|
mbertazz
View Public Profile
Send a private message to mbertazz
Find all posts by mbertazz