My idea would be to dump the JSON at an esp32 application, parse it and use esp-nimble-cpp to (re) transmit the capture
any suggestions how to go about it?
I could craft an NimBLEAdvertisementData from the above and transmit, but I wonder if there is a lower-level API which I could use in a more straightforward manner
Yes, you could do this with NimBLEAdvertisementData and just add the raw bytes to it. You could use NimBLE directly for this but would require you to implement the calls to start advertising etc as well.
I am looking into replaying BLE packets (specifically advertisements) previously recorded with Wireshark and nRF sniffer
I wonder if such a "raw transmit" can be done with this library
this is how a BLE advertisement looks once recorded and exported as JSON from Wireshark (just the btle ad - full log attached):
My idea would be to dump the JSON at an esp32 application, parse it and use esp-nimble-cpp to (re) transmit the capture
any suggestions how to go about it?
I could craft an
NimBLEAdvertisementData
from the above and transmit, but I wonder if there is a lower-level API which I could use in a more straightforward mannerthanks in advance for any suggestions
Michael
full JSON: ruuvi5668.json same as pcapng