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.
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.