amitv87 opened a new issue #950:
URL: https://github.com/apache/mynewt-nimble/issues/950


   Multi task environment for simple applications like beacon/eddystone is kind 
of overkill and increases ROM/RAM requirements.
   Also porting the lib to some new OS becomes challenging when time is scarce.
   
   I would love to have an option to run the entire host stack in single 
task/thread (similar to LWIP in NO_SYS mode).
   Here is the pseudo code that I am after.
   ```C
   int main(){
     AppInit();                                  // initialize system
     NimbleHostInit(conf, transport, callbacks); // initialize nimble host
   
     while (true) {
       AppTask();    // handle all system operations here
       NimbleTask(); // handle all nimble host operations here like read 
from/write to transport
     }
     return 0;
   }
   ```
   


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to