Following the instructions for the mangoh yocto bluetooth driver build, I can get the bluetooth drivers to load and initialize correctly on my FX30S running legato 16.10.1:
[ 14.882191] Bluetooth: Core ver 2.18 [ 14.889913] Bluetooth: HCI device and connection manager initialized [ 14.890004] Bluetooth: HCI socket layer initialized [ 14.890035] Bluetooth: L2CAP socket layer initialized [ 14.890218] Bluetooth: SCO socket layer initialized [ 15.029360] Bluetooth: HCI UART driver ver 2.2 [ 15.029421] Bluetooth: HCI H4 protocol initialized [ 15.029421] Bluetooth: HCI BCSP protocol initialized [ 15.029452] Bluetooth: HCILL protocol initialized [ 15.029452] Bluetooth: HCIATH3K protocol initialized [ 15.029482] Bluetooth: HCI Three-wire UART (H5) protocol initialized [ 17.238974] Bluetooth: RFCOMM TTY layer initialized [ 17.239066] Bluetooth: RFCOMM socket layer initialized [ 17.239157] Bluetooth: RFCOMM ver 1.11 [ 18.304898] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 18.304990] Bluetooth: HIDP socket layer initialized [ 19.335602] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 19.335632] Bluetooth: BNEP filters: protocol multicast [ 19.335693] Bluetooth: BNEP socket layer initialized
But I can’t get the WL1831 IOT card to show up: hciattach times out trying to attach any of the available devices.
Does anyone know how to attach to the bluetooth driver on the FX30S?
The FX30S has /dev/ttyHS0 as it’s serial port and /dev/ttyHSL1 as it’s other multiplexed UART port: I’ve tried mapping both UARTs to legato applications ( AT!MAPUART? gives 17,17 ):
./hciattach -r /dev/ttyHS0 bcsp 115200 BCSP initialization timed out