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 2018/10/23 08:46:05 UTC

[GitHub] andrzej-kaczmarek commented on a change in pull request #228: Connection request rx while already connected

andrzej-kaczmarek commented on a change in pull request #228: Connection request rx while already connected
URL: https://github.com/apache/mynewt-nimble/pull/228#discussion_r227284416
 
 

 ##########
 File path: nimble/controller/src/ble_ll_adv.c
 ##########
 @@ -2646,6 +2674,11 @@ ble_ll_adv_rx_req(uint8_t pdu_type, struct os_mbuf *rxpdu)
     }
 #endif
 
+    /* See if the device is already connected */
+    if (ble_ll_adv_already_connected(peer, peer_addr_type)) {
 
 Review comment:
   as per spec you quoted, this should be only checked when we receive CONNECT_IND or AUX_CONNECT_REQ - we should still be able to scan peer we are connected to (unless spec does not allow for this)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services