Is your feature request related to a problem? Please describe.
Currently we have two styles for enable/disable. Most uses two separate APIs. But otLinkRawSetEnable(bool) and otLinkRawSrcMatchEnable(bool) accepts a parameter to disable the functionality, shall we unify the style by adding two disable APIs?
The following APIs seem to follow the SetEnabled(bool) model:
Thanks! Which style is recommended for new APIs?
I think the preference has been the SetEnabled(bool) style, rather than two separate APIs.
Thank you for the confirmation!
Most helpful comment
The following APIs seem to follow the
SetEnabled(bool)model: