[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] openBT on uclinux cannot access ttyBT0
It appears that the device is present in the /dev directory.
# btcon -d /dev/ttyBT1 -a 00:02:72:B0:0A:11 -S 2
Connecting to bd: 0: 2:72:b0: a:11
Using rfcomm server ch: 2
Connecting to 00:02:72:B0:0A:11 on line 1
# echo hello > /dev/ttyBT1
/dev/ttyBT1: cannot create
# ls /dev/ttyBT1
On the other machine, rfcomm appears to connect to it too:
[root@uhuru tommy]# rfcomm listen 1 2
Waiting for connection on channel 2
Connection from 00:02:C7:A0:2F:CA to /dev/rfcomm1
Press CTRL-C for hangup
rfcomm1 is accessible.
>===== Original Message From Peter Kjellerstedt <email@example.com>
>> -----Original Message-----
>> From: Thomas Ng [mailto:firstname.lastname@example.org]
>> Sent: 10 July 2003 20:01
>> To: email@example.com
>> Subject: [bluetooth-dev] openBT on uclinux cannot access ttyBT0
>> I tried connecting through rfcomm from a linux machine to
>> uclinux. The connections appear to have been made, but when
>> I try accessing ttyBT0, I get the following message:
>> # echo hello >ttyBT0
>You did mean "echo hello > /dev/ttyBT0", didn't you?
>> ttyBT0: cannot create
>That looks like the message you would get if you try to
>echo a string to a file (or device) that does not exist.
>Are you sure the ttyBT0 device exists?
>> does anyone know what is going on?
>To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
>the body of a message to firstname.lastname@example.org
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to email@example.com