I am trying to bring up a Bluetooth module over HCI UART on an i.MX8QXP-based board, but I keep getting command tx timeout errors.
hciconfig -a shows hci0, but the BD address is 00:00:00:00:00:00 and the interface is DOWN.
root@kontron-samx8x:~# hciconfig -a
hci0: Type: Primary Bus: UART...
I tested my ADAM-6350 module with QModMaster, and all read/write operations worked correctly. However, using a C program with libmodbus, writing to a coil with modbus_write_bit works, but modbus_read_bits always returns 0, regardless of the value written. Could this issue be related to incorrect...