MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / update

Function update

scripts/secure_command.py:139–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137 print("Requested config change")
138
139def update():
140 now = time.time()
141 global last_session_key_req, last_set_config, session_key
142 if session_key is None and now - last_session_key_req > args.timeout+1:
143 last_session_key_req = now
144 request_session_key()
145 if session_key is not None and now - last_set_config > args.timeout+1:
146 last_set_config = now
147 send_config_change()
148
149while True:
150 try:

Callers 1

secure_command.pyFile · 0.85

Calls 2

request_session_keyFunction · 0.85
send_config_changeFunction · 0.85

Tested by

no test coverage detected