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


   Currently (depending on feature) enabling/disabling is done by either 
compile time #ifdef, returning BLE_HS_ENOTSUP in runtime for disabled features, 
or by wrapping one feature on top of other API.
   
   Runtime errors are not the best IMHO as those should be reserved for 
recoverable scenarios. I propose that we always do #ifdef so that application 
developer can detect mis-configuration at build time.


-- 
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:
us...@infra.apache.org


Reply via email to