How can we capture data link layer data in LoRaWAN?

How can we capture data link layer data in lorawan enabled IoT network?

printf statements in the radio driver does it for me.

which device can i use for capturing the data? I have a TTN gateway and Rak sensor. i want to collect data in promiscuous mode so that i can process it further for vulnerability analysis. [quote=“descartes, post:2, topic:63526, full:true”]
printf statements in the radio driver does it for me.
[/quote]
which device can i use for capturing the data? I have a TTN gateway and Rak sensor. i want to collect data in promiscuous mode so that i can process it further for vulnerability analysis.

You could put printf statements in to the firmware of the unknown model of RAK sensor.

Or you could put printf statements in to the packet forwarder of the unknown TTN gateway.

But as LoRaWAN isn’t TCP/IP, you won’t be collecting data in promiscuous mode. Which suggests that you need to learn LoRaWAN first.

Which university are you studying at?

Will you be able to share the example of data link layer data sample in lorawan network if you have device setup please.

Surely that would be a security risk?

You could look at the LoRaWAN payload decoder on GitHub.

A reply would be polite.