This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit fee8b443ddea4c83f57bd85d53e7a69941a758fd Author: chengkai <[email protected]> AuthorDate: Tue Dec 12 16:53:09 2023 +0800 bluetooth:add btslip checksum log for debug add send btslip checksum log for debug Signed-off-by: chengkai <[email protected]> --- drivers/wireless/bluetooth/bt_slip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/wireless/bluetooth/bt_slip.c b/drivers/wireless/bluetooth/bt_slip.c index 688668edff..3da65525ac 100644 --- a/drivers/wireless/bluetooth/bt_slip.c +++ b/drivers/wireless/bluetooth/bt_slip.c @@ -436,9 +436,9 @@ static int bt_slip_send_packet(FAR struct sliphci_s *priv, uint8_t type, *pend++ = SLIP_DELIMITER; - wlinfo("tx t:%d l:%d s:%d a:%d\n", BT_SLIP_GET_PKT_TYPE(header), - BT_SLIP_GET_LEN(header), BT_SLIP_GET_SEQ(header), - BT_SLIP_GET_ACK(header)); + wlinfo("tx t:%d l:%d s:%d a:%d checksum:0x%04x \n", + BT_SLIP_GET_PKT_TYPE(header), BT_SLIP_GET_LEN(header), + BT_SLIP_GET_SEQ(header), BT_SLIP_GET_ACK(header), checksum); return priv->drv->send(priv->drv, type, packet, pend - packet); }
