MCPcopy Index your code
hub / github.com/dronesploit/dronesploit / _power_off

Method _power_off

dronesploit/drones/hobbico.py:51–53  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 return yaml.dump(r)
50
51 def _power_off(self):
52 self.logger.info("Shutting down the target...")
53 self._feedback(self.send_command(32, 0), "Target not powered off")
54
55 def _stop_video(self):
56 self.logger.info("Stopping video...")

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls 1

send_commandMethod · 0.80

Tested by

no test coverage detected