MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _is_associated

Method _is_associated

wardriving.py:2513–2521  ·  view source on GitHub ↗

True if the interface is currently associated with an AP as a client. Used to decide whether wardriving can claim it exclusively from NM.

(self, interface)

Source from the content-addressed store, hash-verified

2511 'companion': self._companion_name,
2512 'connected': bool(huginn_companions),
2513 'huginn_count': len(huginn_companions),
2514 }
2515
2516 def push_huginn_config(self, values):
2517 """Validate, persist and queue Huginn `set ...` commands.
2518
2519 Webapp thread calls this. The serial listener thread drains the queue
2520 and writes to the device; we never touch the serial handle here.
2521 Broadcasts to ALL connected Huginn companions.
2522 """
2523 clean, err = self._validate_huginn_values(values or {})
2524 if err:

Callers 1

_prepare_interfaceMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected