zephyr/drivers/bluetooth
Johan Hedberg 099ecbfa7c Bluetooth: Add minimum required length parameter to bt_uart_read()
There are some places where it's forgivable if bt_uart_read() wasn't
able to read as many bytes as requested. In other places it's not
acceptable (e.g. when reading ACL or event header). To avoid failing
in situations where we can handle receiving less data than requested
this patch adds a new parameter to bt_uart_read() to specify the
minimum required data amount.

Change-Id: I372e3af7aaa6bfabe14896eb10cc71c3deff94f2
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:50 -05:00
..
uart.c Bluetooth: Add minimum required length parameter to bt_uart_read() 2016-02-05 20:13:50 -05:00
uart.h Bluetooth: Add HCI UART (H4) driver 2016-02-05 20:13:44 -05:00