On 12 Aug 2019, at 19.34, Gopal krishna Reddy <firstname.lastname@example.org> wrote:
I have compiled the Peripheral_hids app using the build option as native_posix and was able to generate the zephyr.exe
I have connected a CSR Bluetooth 4.0 Dongle to the Linux PC and tried to run the zephyr.exe using the below command.
sudo ./zephyr.exe --bt-dev=hci0
00.000,000] <inf> flash_native_posix: Device flash_ctrl initialized
***** Booting Zephyr OS build zephyr-v1.14.0-3069-g513244afe251 *****
00.000,000] <err> bt_hci_core: HCI driver open failed (-16)
Bluetooth init failed (err -16)
The HCI device needs to be powered down first, using e.g. “hciconfig hci0 down”. Does that help?