]> granicus.if.org Git - esp-idf/commitdiff
Merge branch 'bugfix/id9561_bt_status_check' into 'master'
authorJiang Jiang Jian <jack@espressif.com>
Wed, 11 Jan 2017 06:38:43 +0000 (14:38 +0800)
committerJiang Jiang Jian <jack@espressif.com>
Wed, 11 Jan 2017 06:38:43 +0000 (14:38 +0800)
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


Trivial merge