Skip to content

Conversation

@Yezmax
Copy link
Contributor

@Yezmax Yezmax commented Jan 28, 2026

bug: v/85159

Add dynamic logging control for SPP data transmission to aid in debugging, introducing the spp_dump_trans_data macro to log function name, SPP port, proxy handle, data size, and first 16 bytes of data at key points including euv_read_complete, spp_rx_buffer_send, spp_on_incoming_data_received, and do_spp_write, with runtime enable/disable via new spp_enable_dump and spp_disable_dump functions, extended interface, and public APIs bt_spp_enable_dump and bt_spp_disable_dump, minimizing performance impact by default disabling logging and allowing on-demand activation.

Signed-off-by: v-chenghuijin <v-chenghuijin@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant