A linux app with multiple hci interfaces visible in `hciconfig` may want to 
dynamically specify which hci device id to connect the nimble host to (via 
command line parameter for example).

The `ble_hci_sock_set_device(int)` call is introduced, which can be called 
before `ble_hci_sock_init()` to specify the desired hci device.

If `ble_hci_sock_set_device(int)` is not called, the current behavior is 
maintained: the static configuration set by `MYNEWT_VAL` is used.

[ Full content available at: https://github.com/apache/mynewt-nimble/pull/170 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to