Tool/software: Linux
Hello
On my linux embedded platform, I'm trying to migrate bluez libraries from 4.x to 5.x, in order to get BLE support. Until now, after device power on I used hciattach command to attach serial device to BlueZ stack in the following way:
hciattach -s 115200 /dev/ttySP0 texas 3000000
But BlueZ has introduced the btattach command in release 5.37, as the successor to hciattach, and command syntax is quite different:
Usage: btattach [options] options: -B, --bredr <device> Attach Primary controller -A, --amp <device> Attach AMP controller -P, --protocol <proto> Specify protocol type -S, --speed <baudrate> Specify which baudrate to use -N, --noflowctl Disable flow control -h, --help Show help options
I can set speed and dev controller, but type parameter has disappeared! Then hci_init fails, so I don't know if device is correctly attached... I also tryed to add "--protocol ll", but the situation is the same. Have you already experienced something like this?
Thank you
Mirco