mongoose-os icon indicating copy to clipboard operation
mongoose-os copied to clipboard

BLE scanning doesnt work

Open kzyapkov opened this issue 7 years ago • 1 comments

This is actually about code in https://github.com/mongoose-os-libs/bt-common

Invoking mgos_bt_gap_scan() doesn't work: neither of MGOS_BT_GAP_EVENT_SCAN_STOP or MGOS_BT_GAP_EVENT_SCAN_RESULT are triggered.

It seems changing this to:

      .own_addr_type = BLE_ADDR_TYPE_RANDOM,

fixes the issue.

kzyapkov avatar Mar 15 '18 12:03 kzyapkov

Or,

config_schema:
  - ["bt.keep_enabled", true]
  - ["bt.random_address", false]

cpq avatar May 14 '18 08:05 cpq