Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 92 → Rev 93

0,0 → 1,12
It seems that Bluetooth is not working with the actual Android SDK M5-R15. So we have to do a small workaround to get things working. The basic idea is to bind the com-port opened by rfcomm to one socket on the PC that runs the emulator:
$> rfcomm bind 0 <bt-mac> 1
$> socat tcp-l:54321,reuseaddr,fork file:/dev/rfcomm0,waitlock=/var/run/rfcomm0.lock
Now DUBwise connect to a port rather than scanning for bluetooth-devices and connecting to them - the Socket Part of the SDK works well.
When Bluetooth in the SDK is ready - I'll implement the scanning and connecting Part.