Am 30.10.2013 12:24, schrieb Alexander Holler:
Am 29.10.2013 21:44, schrieb Tim Tisdall:
L2CAP sockets
-------------
socket(AF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP)
bind(bdaddr, 0) // bind to bluetooth address and PSM 0 (Python
doesn't support LE directly,
// but this is enough for binding to the right device
That looks wrong. Try to bind to ATT_CID (4).
And don't forget to check the return code of bind (as well as of
setsockopt and other calls).
Regards,
Alexander Holler
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html