On Tue, Jul 12, 2016 at 09:10:41AM -0700, Christopher Collins wrote: > I believe I have reproduced this issue. I'll send an update when I > have more information.
It appears my exuberance at finding a bug exceeds my skills as a debugger. I thought I was seeing the behavior you observed, but it turned out it was just a bunch of misleading mistakes on my end. After some thought, I realized that there is quite a bit of code that uses the same dual-task structure you're using, without issue. Namely, bletiny initiates all its GATT procedures in the shell task, and not the parent task. The unit tests in ble_os_test.c also do something similar. Sorry for the noise. I would be very interested if you continue seeing this issue. Thanks, Chris