You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/05/05 07:07:47 UTC

[GitHub] [mynewt-nimble] novumdun opened a new issue, #1253: Master can't connect mulit slave?

novumdun opened a new issue, #1253:
URL: https://github.com/apache/mynewt-nimble/issues/1253

   When Master have connected one slave, the Master can't connect other device. Because ble_gap_conn_active will return "BLE_HS_EALREADY" error when ble_gap_connect is called.


-- 
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-unsubscribe@mynewt.apache.org.apache.org

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


[GitHub] [mynewt-nimble] novumdun commented on issue #1253: Master can't connect mulit slave?

Posted by GitBox <gi...@apache.org>.
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-unsubscribe@mynewt.apache.org

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


[GitHub] [mynewt-nimble] novumdun closed issue #1253: Master can't connect mulit slave?

Posted by GitBox <gi...@apache.org>.
novumdun closed issue #1253: Master can't connect mulit slave?
URL: https://github.com/apache/mynewt-nimble/issues/1253


-- 
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-unsubscribe@mynewt.apache.org

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