Hello Hamid: 1) As Aditi has mentioned, you can find the controller code in net/nimble. Note that I left out some dirs preceeding net/nimble as they might be a bit different depending on how one gets the code. The controller code itself is in net/nimble/controller/src, net/nimble/controller/include/controller and in the net/nimble/drivers directory (the drivers directory has the nrf51 and nrf52 in it; you want the nrf51).
2) Yes, all the timing is handled by the nimble stack and is in the controller code. Note that the controller code makes use of funtionality provided by the nrf51, such as encryption, privacy, whitelisting as well as some of the IFS timing. Let me know if you have further questions. > On Jul 15, 2016, at 8:06 AM, aditi hilbert <[email protected]> wrote: > > Hi Hamid, > > Welcome to the Apache Mynewt community! > > 1. Your will find the source code on github: > https://github.com/apache/incubator-mynewt-core/tree/master/net/nimble > <https://github.com/apache/incubator-mynewt-core/tree/master/net/nimble> > 2. Yes - it’s a full controller implementation. > https://mynewt.apache.org/latest/network/ble/ini_stack/ble_ini_intro/ > <https://mynewt.apache.org/latest/network/ble/ini_stack/ble_ini_intro/> goes > over initializing the stack (incl. controller). > > Let us know if you any question pops up. > > And another little thing - could you please check that you have responded > (via an empty email) to the auto-reply that you get when you send the dev@ > mailing list subscription request? This follow-up response must be done to > sign up correctly and not be caught in any mailing list filters. > > thanks, > aditi > > >> On Jul 15, 2016, at 6:21 AM, Hamidreza Shariati >> <[email protected]> wrote: >> >> Hello, >> >> I would like to replace Nordic nRF51 SoftDevice with your BLE stack to have >> this possibility to add my own proprietary LLID to link layer. >> >> I have two questions and I will appreciate your assistance: >> >> >> 1- Where I can find the source code of BLE controller including link >> layer of your open source code? >> >> 2- Everything regarding link layer such as connection event >> timing(getting advertisement and sending connection request) , anchor point >> timing management, checking/sending acknowledgement is done in your BLE >> stack and uses nRF51 radio just to send and receive packets? >> >> Thanks and regards, >> Hamid >
