Open jsmailes opened 2 years ago
That is an interesting idea. Can you share what use cases you have in mind for it?
I'm currently using it in one of my projects to decode some raw iridium messages which have not been produced using the basic gr-iridium
scripts, so the input string is not formatted in the way Message
's __init__
expects. It's useful to be able to pass in the parameters manually instead of relying on the string manipulation in the basic class.
The
MessageInterface
class implements the same basic functionality asMessage
, but its__init__
has sane arguments so it can be used as an interface for other scripts.