Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
93 ligi 1
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:
2
 
3
 $> rfcomm bind 0 <bt-mac> 1
4
 
5
 $> socat tcp-l:54321,reuseaddr,fork file:/dev/rfcomm0,waitlock=/var/run/rfcomm0.lock
6
 
7
Now DUBwise connect to a port rather than scanning for bluetooth-devices and connecting to them - the Socket Part of the SDK works well.
8
When Bluetooth in the SDK is ready - I'll implement the scanning and connecting Part.
9
 
10
 
11
mfg,
12
ligi