zephyr/include/bluetooth
Johan Hedberg 264c207f4f Bluetooth: Add custom "monitor" protocol logging over UART
With most boards there's no simple way to get access to the HCI
traffic. Simultaneously these boards only have one external UART for
the console. This patch introduces a protocol which combines both
normal logs and HCI logs over a single binary protocol sent over the
console UART.

The protocol is modeled based on the btsnoop/monitor protocols used by
BlueZ, and the first tool that's able to decode this is btmon from
BlueZ ("btmon --tty <tty>").

For platforms with two or more external UARTs it is still possible to
use CONFIG_UART_CONSOLE as long as the UART devices used are
different, however on platforms with a single external UART
UART_CONSOLE should be disabled if BLUETOOTH_DEBUG_MONITOR is enabled
(in this case printk/printf get encoded to the monitor protocol).

Origin: Original
Change-Id: I9d3997c7a06fe48e7decb212b2ac9bd8b8f9b74c
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-04-22 18:49:11 +03:00
..
att.h Bluetooth: ATT: Add Common Profile Error Codes 2016-02-17 15:05:16 +00:00
bluetooth.h Bluetooth: Use bt_addr_t inside bt_addr_le_t 2016-04-05 12:29:14 +03:00
buf.h Bluetooth: Export helpers for defining buffer pools 2016-04-11 11:52:38 +00:00
conn.h Bluetooth: Add support for confirming incoming JustWorks pairing 2016-04-14 15:20:03 +00:00
driver.h Bluetooth: Refactor buffer handling for non-host managed buffers 2016-04-11 11:52:29 +00:00
gatt.h Bluetooth: GATT: Add bt_gatt_indicate 2016-03-07 16:44:15 +00:00
hci.h Bluetooth: BR/EDR: Initiate encryption on link 2016-04-19 12:50:31 +00:00
l2cap.h Bluetooth: L2CAP: Add more descriptive documentation 2016-03-08 11:44:43 +00:00
log.h Bluetooth: Add custom "monitor" protocol logging over UART 2016-04-22 18:49:11 +03:00
storage.h Bluetooth: Add stub for bt_storage_clear() 2016-04-05 12:29:14 +03:00
uuid.h Bluetooth: Provide static inline stubs for UUID string helpers 2016-04-18 13:45:33 +00:00