mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ae48cbd8c4
component/bt: bug fix of lack of checking bluetooth stack status inside API functions Add an API function for checking bluetooth stack status: whether it is uninitialized, initialized or enabled. The function is intended to be used by users to check the bluetooth stack status, also, it is used inside bluetooth API functions to ensure the stack is in valid state. See merge request !405