Save tx file (#1560)

* Added saving current packets to file
This commit is contained in:
Netro
2023-11-06 13:09:26 -05:00
committed by GitHub
parent 2913a41aec
commit 312df0fcec
3 changed files with 56 additions and 1 deletions
+1
View File
@@ -206,6 +206,7 @@ void BleRecentEntryDetailView::launch_bletx(BleRecentEntry packetEntry) {
strncpy(bleTxPacket.macAddress, macAddressStr.c_str(), 13);
strncpy(bleTxPacket.advertisementData, packetEntry.dataString.c_str(), (packetEntry.packetData.dataLen * 2) + 1);
strncpy(bleTxPacket.packetCount, "50", 3);
bleTxPacket.packet_count = 50;
nav_.replace<BLETxView>(bleTxPacket);