PAND Network
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Marcel,
Quoted 19 lines
Quoted 7 lines
I have tried to find where the error "file exists" arises debugging the source code, and I have found it in this function of
bnep.cwhen trying to
send the ioctl command "bnepconnadd":static int
bnep_connadd(int sk, uint16_t role, char *dev)Quoted 11 lines
{ struct bnep_connadd_req req; strcpy(req.device, dev); req.sock = sk; req.role = role; if (ioctl(ctl, bnepconnadd, &req)) return -1; strcpy(dev, req.device); return 0; }
Quoted 2 lines
please check the
getsockname()andgetpeername()output for sk in that call.
I have checked the local address and the remote address of the socket "sk"
in the bnep_connadd function with getsockname() and getpeername() and they are correct in both bnep connections. The local address is in the first connection is 00:10:60:B3:5A:C9 and 00:07:80:80:4B:04 in the second one, and the remote address is in both connections 00:80:5A:20:EA:13.
Regards,
Monica
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users