wireshark: add Option for different link types

This commit is contained in:
Bastian Bloessl
2013-06-16 07:06:00 +02:00
parent 0256fe7e77
commit b60a133ac8
4 changed files with 30 additions and 12 deletions
+6 -1
View File
@@ -23,12 +23,17 @@
namespace gr {
namespace foo {
enum LinkType {
WIFI = 127,
ZIGBEE = 195
};
class FOO_API wireshark_connector : virtual public gr::block
{
public:
typedef boost::shared_ptr<wireshark_connector> sptr;
static sptr make(bool debug= false);
static sptr make(LinkType type, bool debug= false);
};
} // namespace foo