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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 1 deletions

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);