]> granicus.if.org Git - esp-idf/commit
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)
commitae48cbd8c4b836b85d5c40344d594c35782e62b7
tree601ab617c4e097d45c1082ee324c1d1cc1dba5b0
parent919bb747f80ddf93dd572fb466f8b4ea7c08b1ca
parentc5927146791cd166edd86d8a4b30c78c14dc215c
Merge branch 'bugfix/id9561_bt_status_check' into 'master'

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