![]() |
rfcomm settings
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 |
The advice I can give to you off the bat is to double-check your channel. Different channels connect to different services.
Other than that I had no problem talking to my cellphone using Python and RFCOMM. |
Probably even easier with Python and PyBluez, too.
|
Quote:
|
thank you very much: i don't care about i/o settings and i see is a permission problem, resolved with nochroot and/or chmod on /dev/rfcomm0
bye |
All times are GMT. The time now is 01:53. |
vBulletin® Version 3.8.8