(self,argv,argc,send_reply)
| 426 | self.fw.button_0_pressed(None) |
| 427 | |
| 428 | def cmd_ping(self,argv,argc,send_reply): |
| 429 | if argc > 2: return False |
| 430 | ping_text = argv[1] if argc == 2 else "ping" |
| 431 | # ping_t0_ms set to 0, will be set to actual time just before transmission |
| 432 | msg = Message(mtype=MessageTypePing, nick=self.fw.config['nick'], text=ping_text, ping_t0_ms=0) |
| 433 | self.fw.send_asynchronously(msg, max_delay=0, num_tx=1, relay=False) |
| 434 | send_reply("Ping sent...") |
| 435 | return True |
nothing calls this directly
no test coverage detected