All, This pull request contains legacy pairing implementation for nimble. It also contains a change from Chris which is not yet committed that I needed to ensure atomic access to the l2cap state machine in multi-threaded applications.
Please review if you are interested and get a chance. https://github.com/apache/incubator-mynewt-core/pull/46 Paul
