hci_dump: renesas-tb-s1ja-cc256x port

This commit is contained in:
Matthias Ringwald 2021-03-10 12:15:48 +01:00
parent 8636a61217
commit 057ebb4540
2 changed files with 3 additions and 2 deletions

View File

@ -67,7 +67,7 @@ All debug output is send via SEGGER RTT.
In src/btstack_config.h resp. in example/btstack_config.h of the generated projects, additional debug information can be enabled by uncommenting ENABLE_LOG_INFO.
Also, the full packet log can be enabled in src/hal_entry.c by uncommenting the hci_dump_open(NULL, HCI_DUMP_STDOUT) call.
Also, the full packet log can be enabled in src/hal_entry.c by uncommenting the hci_dump_init(...) call.
The console output can then be converted into .pklg files by running tool/create_packet_log.py. The .pklg file can be
analyzed with the macOS X PacketLogger or WireShark.

View File

@ -198,6 +198,7 @@ void hal_uart_dma_receive_block(uint8_t *data, uint16_t size){
#include "hci.h"
#include "hci_cmd.h"
#include "hci_dump.h"
#include "hci_dump_embedded_stdout.h"
#include "hci_transport.h"
#include "btstack_memory.h"
#include "ble/le_device_db_tlv.h"
@ -271,7 +272,7 @@ void hal_entry(void) {
btstack_run_loop_init(btstack_run_loop_embedded_get_instance());
// enable HCI logging
// hci_dump_open( NULL, HCI_DUMP_STDOUT );
// hci_dump_init(hci_dump_embedded_stdout_get_instance());
// init HCI
hci_init(hci_transport_h4_instance(btstack_uart_block_embedded_instance()), (void*) &config);