Issue in OTA of zephyr OS over BLE on Nordic nrf52840_pca10056 chip #nrf52840 #ble #bluetoothmesh


Mayank <mayank7117@...>
 

Thanks Jamie,

Here, I would like to point out the exact setup that i'm trying DFU on.
I have One custom board which has imx6ul processor, I'm having one BLE controller on board which is connected to processor over uart.
Now from the boards serial console i would like to update the zephyr application to that BLE controller.

Regards,
Mayank


On Thu, Nov 7, 2019 at 1:14 PM lairdjm <jamie.mccrae@...> wrote:

Hi Mayank,

You are getting this error because the hci0 device could not be enabled on your host system, the echo command sends that to the remote device using Bluetooth. You need a Bluetooth dongle plugged into your PC which supports Bluetooth 4.0+ (and must have support for Bluetooth Low Energy). You can use the BlueZ commands to see what Bluetooth devices you have on your system and the corresponding LMP versions. You need a device with LMP version 6 or newer.

Thanks,

Jamie


lairdjm
 

Hi Mayank,

You are getting this error because the hci0 device could not be enabled on your host system, the echo command sends that to the remote device using Bluetooth. You need a Bluetooth dongle plugged into your PC which supports Bluetooth 4.0+ (and must have support for Bluetooth Low Energy). You can use the BlueZ commands to see what Bluetooth devices you have on your system and the corresponding LMP versions. You need a device with LMP version 6 or newer.

Thanks,

Jamie


Mayank <mayank7117@...>
 

Hi,

I'm trying to do an OTA of zephyr hci_uart application and i have done following things.
Referred https://docs.zephyrproject.org/1.14.0/samples/subsys/mgmt/mcumgr/smp_svr/README.html?highlight=build%20smp_svr
By following this document,
1) Build & flashed MCUBOOT bootloader. Addr range(0x0 to 0x8000)
2) Build, signed hex file & flashed smp_svr. Addr range(0xC000 to 0x27000)

Now, when I run below command it should respond with 'hello', but that is not the case.
Command --> sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' echo hello

Instead, i'm getting 'Can not up hci0 interface'.
According to my understanding hci0 will be up only when i will build & flash the zephyr's hci_uart application(But it's not mentioned anywhere in above zephyr's doc).
So am i missing something and if not why it is not working as mentioned in the above zephyr's link.

Thanks,
Mayank