rpp0 / gr-lora

GNU Radio blocks for receiving LoRa modulated radio messages using SDR
GNU General Public License v3.0
537 stars 115 forks source link

Write bytes instead of complex samples #103

Closed argilo closed 5 years ago

argilo commented 5 years ago

It appears the Message File Sink block was originally intended to write out messages containing complex samples, but at this point the LoRa Receiver block produces bytes. I've rewritten the message handler accordingly. I also added a call to flush() since the sink's destructor isn't always called when a flow graph terminates, and so packets can be lost.

rpp0 commented 5 years ago

You are 100% correct. Thanks!