MCPcopy Create free account
hub / github.com/antirez/freakwan / receive_callback

Method receive_callback

example.py:37–41  ·  view source on GitHub ↗
(self,lora_instance,packet,RSSI)

Source from the content-addressed store, hash-verified

35 self.lora.receive()
36
37 def receive_callback(self,lora_instance,packet,RSSI):
38 self.display.fill(0)
39 self.display.text(packet, 0, 0, 1)
40 self.display.text(str(RSSI), 0, 15, 1)
41 self.display.show()
42
43 def run(self):
44 # Other than receiving, every 5 seconds send a packet.

Callers

nothing calls this directly

Calls 3

fillMethod · 0.80
textMethod · 0.80
showMethod · 0.80

Tested by

no test coverage detected