kopia lustrzana https://github.com/rpp0/gr-lora
Added other bug report links
rodzic
8290e348ac
commit
bebc5b28f7
|
@ -694,11 +694,11 @@ class message_wireshark_sink(gr.basic_block):
|
||||||
|
|
||||||
self.message_port_register_in(pmt.intern("in"))
|
self.message_port_register_in(pmt.intern("in"))
|
||||||
self.set_msg_handler(pmt.intern("in"), self.msg_handler)
|
self.set_msg_handler(pmt.intern("in"), self.msg_handler)
|
||||||
|
|
||||||
# Register system_handler to stop execution when done.
|
# Register system_handler to stop execution when done.
|
||||||
self.message_port_register_in(pmt.intern("system"))
|
self.message_port_register_in(pmt.intern("system"))
|
||||||
self.set_msg_handler(pmt.intern("system"), self.system_handler)
|
self.set_msg_handler(pmt.intern("system"), self.system_handler)
|
||||||
|
|
||||||
self.host = "127.0.0.1"
|
self.host = "127.0.0.1"
|
||||||
self.port = 40868
|
self.port = 40868
|
||||||
###self.server = socket_pdu("UDP_SERVER", self.host, str(self.port))
|
###self.server = socket_pdu("UDP_SERVER", self.host, str(self.port))
|
||||||
|
@ -710,11 +710,12 @@ class message_wireshark_sink(gr.basic_block):
|
||||||
|
|
||||||
def system_handler(self, msg):
|
def system_handler(self, msg):
|
||||||
#### Sends 'done' message, but does NOT end flowchart execution!
|
#### Sends 'done' message, but does NOT end flowchart execution!
|
||||||
#### This is apparently a known bug in the Python connection to the message system.
|
#### This is apparently a known bug in the Python connection to the message system.
|
||||||
#### Examples:
|
#### Examples:
|
||||||
#### https://lists.gnu.org/archive/html/discuss-gnuradio/2015-03/msg00223.html
|
#### https://lists.gnu.org/archive/html/discuss-gnuradio/2015-03/msg00223.html
|
||||||
####
|
#### https://lists.gnu.org/archive/html/discuss-gnuradio/2015-04/msg00093.html
|
||||||
#### A GNU Radio block written in C++ works as expected.
|
#### https://lists.gnu.org/archive/html/discuss-gnuradio/2016-07/msg00320.html
|
||||||
|
#### A GNU Radio block written in C++ works as expected.
|
||||||
#### Workaround by raising exception...
|
#### Workaround by raising exception...
|
||||||
# print msg
|
# print msg
|
||||||
print ("End transmission. Press CTRL+C to continue...")
|
print ("End transmission. Press CTRL+C to continue...")
|
||||||
|
|
Ładowanie…
Reference in New Issue