Zephyr Controller with legacy tools

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

We are trying to use Zephyr (https://www.zephyrproject.org) nrf52 hci
example as BLE scanning device. We were able to sucessfully run the
example according to this tutorial:
https://devzone.nordicsemi.com/blogs/1059/nrf5x-support-within-the-zephyr-project-rtos/


We've successfully set up and communicate with Zephyr based controller
using ubuntu 16.06 with kernel 4.8.0 and newest bluez release.

Unfortunately our target final design is using embedded linux with quite
old kernel (3.10.93). On this kernel, latest bluez release lacks btmgmt
interface used in the example above. We are trying to use legacy tools
like hciattach, hciconfig, hcitool to run scanning on nrf52 with zephyr
hci example.

After running:
$ hciattach  ttyACM0 any -s 1000000 flow

we can see new hci device as:

hci0:	Type: BR/EDR  Bus: UART
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN INIT RUNNING
	RX bytes:0 acl:0 sco:0 events:0 errors:0
	TX bytes:8 acl:0 sco:0 commands:2 errors:0

Unfortunatelly we cannot get interface 'up'

./hciconfig hci0 up
Can't init device hci0: Cannot assign requested address (99)

so we cannot also start scanning
./hcitool -i hci0 lescan
Invalid device: Network is down

What I'm asking for is some advice on how to debug this problem and
bring Zephyr based controller up.

Thanks in advance,
Jacek
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux