Ok, I seem to be able to consistently run BTdaemon and accept
connections from the test example. I upgraded to 3.1 with PwnageTool,
and wiped my root partition to boot.
I have compiled with SDK_VERSION=2.2.1, as well as tested Matthias'
binaries. Note that I had to disable springboard support as there was
no SpringBoard.h in 3rdparty? The svn repo has no such header, but
SpringBoard support is mentioned in the TODO.txt so I assume it is a
feature in development.
Of course, my Wiimote has a different btaddr, so I cannot fully check
the test executable. When I use my own test binary (with the
appropriate btaddr), I cannot see accelerometer data, and I'm not sure
what to make of the debug output:
[2009-09-19 13:06:57.088] EVT <= 81 01 01
[2009-09-19 13:06:57.088] CMD => 03 0C 00
[2009-09-19 13:06:57.566] EVT <= 0F 04 00 01 00 00
[2009-09-19 13:06:57.680] EVT <= 0E 04 01 03 0C 00
[2009-09-19 13:06:57.681] CMD => 09 10 00
[2009-09-19 13:06:57.685] EVT <= 0E 0A 01 09 10 00 4B 6A 3E B3 1C 00
[2009-09-19 13:06:57.685] CMD => 18 0C 02 00 60
[2009-09-19 13:06:57.690] EVT <= 0E 04 01 18 0C 00
[2009-09-19 13:06:57.691] CMD => 1A 0C 01 03
[2009-09-19 13:06:57.696] EVT <= 0E 04 01 1A 0C 00
Bluetooth status: 2
[2009-09-19 13:06:57.699] CMD => 13 0C F8 42 54 73 74 61 63 6B 2D 54
65 73 74 00 00 00 00 50 72 65 73 73 20 31 2B 32 20 6F 6E 20 57 69 69
4D 6F 74 65 20 74 6F 20 6D 61 6B 65 20 69 74 20 64 69 73 63 6F 76 65
72 61 62 6C 65 20 2D 20 50 72 65 73 73 20 48 4F 4D 45 20 74 6F 20 64
69 73 63 6F 6E 6E 65 63 74 20 6C 61 74 65 72 20 3A 29 00 00 00 00 50
6C 65 61 73 65 20 65 6E 74 65 72 20 50 49 4E 20 31 32 33 34 20 6F 6E
20 72 65 6D 6F 74 65 20 64 65 76 69 63 65 00 00 43 68 61 6E 6E 65 6C
20 73 75 63 63 65 73 73 66 75 6C 6C 79 20 6F 70 65 6E 65 64 3A 20 00
00 00 2C 20 68 61 6E 64 6C 65 20 30 78 25 30 32 78 2C 20 70 73 6D 20
30 78 25 30 32 78 2C 20 73 6F 75 72 63 65 20 63 69 64 20 30 78 25 30
32 78 2C 20 64 65 73 74 20 63 69 64 20 30 78 25 30 32 78 0A 00 00 00
00 42 61 73 65 62 61 6E 6B
[2009-09-19 13:06:57.743] EVT <= 0E 04 01 13 0C 00
[2009-09-19 13:06:57.746] CMD => 20 0C 01 00
[2009-09-19 13:06:57.750] EVT <= 0E 04 01 20 0C 00
[2009-09-19 13:06:57.753] CMD => 20 F4 08 58 6D AD 1D 19 00 13 00
Create_connection to 00-19-1D-AD-6D-58
[2009-09-19 13:06:57.755] CMD => 05 04 0D 58 6D AD 1D 19 00 18 00 00
00 00 00 00
[2009-09-19 13:06:57.776] EVT <= 0F 04 00 01 05 04
The WiiMote never decides which player it is; it simply flashes the
LEDs and gives up no matter how many times 1+2 are pressed.
Does this indicate a fully working BTdaemon (without springboard
support) and a slightly broken test?
Thanks for all the help so far,
Paul
On Sep 17, 10:31 pm, Matthias Ringwald <
matthias.ringw...@gmail.com>
wrote: