I must add that it's not only with default pin, but with any pin. I.e.
after doing `btctl addpin <btaddr> <pin>` for specific <btaddr>,
pairing doesn't work either.
As was noted on affix-devel@
list, it has something to do with "-O2" gcc optimization on arm
platform. And the code that is badly affected by that optimization
is affix kernel code, not userland or libs.
The problem
goes away when affix kernel is compiled with "-O1" or "-O"
optimization option instead of "-O2".
-albertr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=546775
I must add that it's not only with default pin, but with any pin. I.e.
after doing `btctl addpin <btaddr> <pin>` for specific <btaddr>,
pairing doesn't work either.
As was noted on affix-devel@
list, it has something to do with "-O2" gcc optimization on arm
platform. And the code that is badly affected by that optimization
is affix kernel code, not userland or libs.
The problem
goes away when affix kernel is compiled with "-O1" or "-O"
optimization option instead of "-O2".
-albertr
Logged In: YES
user_id=546775
Whatever has been changed in affix kernel recently, it seemed to fix this problem, since I can't reproduce it anymore with Affix 1.2.5.
-albertr