novumdun commented on issue #1253:
URL: https://github.com/apache/mynewt-nimble/issues/1253#issuecomment-1123232501

   Hi, now it works.
   I used put the scan in the "BLE_GAP_EVENT_CONNECT" event code,
   ```c
       case BLE_GAP_EVENT_CONNECT:
           if (event->connect.status == 0) {
               scan();
           }
           break;
   ```
   but now I put the scan in another task.
   I think the scan shouldn't be called in "BLE_GAP_EVENT_CONNECT" event.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to