Hello!
I am building Central app to read data from not a fully conformant BLE devices.
When I connect to device with my Android or Windows app, the connection establishes immediately. Connecting with Zephyr default stack lead device into "broken connection" mode (all I know, the status LED starts fast-blinking instead of steady light as it should be).
I have ruled out all other options, and the issue is -- the device requires that central confirm it's LL_LENGTH_REQ:
Peripheral => Central:
Control Opcode: LL_LENGTH_REQ (0x14)
Max RX octets: 251
Max RX time: 2120 microseconds
Max TX octets: 27
Max TX time: 328 microseconds
Phone & windows & TI BLE stack does that with ease, but I am failing to configure project to get the same on nRF52840.
No matter how I set parameters in prj.conf:
(I've tried varied settings of 27 and 251 there)
Max RX octets: 251
Max RX time: 2120 microseconds
Max TX octets: 251
Max TX time: 2120 microseconds
has RX and TX equals - either 251 or 27.
The current settings are:
# hci_rpmsg.conf -- but I really think this one is unused