janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
173 stars 66 forks source link

capturing packets lorawan #45

Open OniremE opened 4 years ago

OniremE commented 4 years ago

Hello All,

I want to capture downlink packets during a simulation. Is there a way to do so?

janjongboom commented 4 years ago

@OniremE Raw packets from the radio? Inspect the data array here: https://github.com/janjongboom/mbed-simulator/blob/db93de0648bd4375d12b1a01fbb617c03f2338ac/mbed-simulator-hal/lora-radio-drv/SX1276_LoRaRadio.cpp#L598