]> granicus.if.org Git - esp-idf/commit
Unified Provisioning: Miscellaneous fixes in BLE
authorHrishikesh Dhayagude <hrishi@espressif.com>
Wed, 3 Apr 2019 10:15:34 +0000 (15:45 +0530)
committerHrishikesh Dhayagude <hrishi@espressif.com>
Tue, 9 Apr 2019 05:55:42 +0000 (11:25 +0530)
commit71845041e01f1d10b742aec85e3ef0ab1c7b7427
treede80ea956b0c3feff2c89dc36b6c45a2f0ad81c9
parent12bf1017de51e114ba310414ecc8a735ae79ff52
Unified Provisioning: Miscellaneous fixes in BLE

1. Pass the correct conn_id to protocomm_req_handle
In transport_simple_ble_write(), passing param->exec_write.conn_id would
be invalid. Instead param->write.conn_id should be passed
Similar change in transport_simple_ble_exec_write() to use
param->exec_write.conn_id

2. simple_ble_start() assumes that the mode is BLE only and enables
Bluetooth controller accordingly. For, cases having BT + BLE like Alexa
(Provisioning over BLE + Audio over classic BT), this assumption should
be removed.
components/protocomm/src/simple_ble/simple_ble.c
components/protocomm/src/transports/protocomm_ble.c