[spinel] log sent Spinel frames (#10429)

This commit is contained in:
Zhanglong Xia
2024-06-24 10:07:47 -07:00
committed by GitHub
parent 9232ead562
commit 8bd427b9c3
+2
View File
@@ -192,6 +192,7 @@ otError SpinelDriver::SendCommand(uint32_t aCommand, spinel_prop_key_t aKey, spi
offset = static_cast<uint16_t>(packed);
EXPECT_NO_ERROR(error = mSpinelInterface->SendFrame(buffer, offset));
LogSpinelFrame(buffer, offset, true /* aTx */);
exit:
return error;
@@ -226,6 +227,7 @@ otError SpinelDriver::SendCommand(uint32_t aCommand,
}
EXPECT_NO_ERROR(error = mSpinelInterface->SendFrame(buffer, offset));
LogSpinelFrame(buffer, offset, true /* aTx */);
exit:
return error;