mesh route results
This commit is contained in:
parent
c724833542
commit
0343030980
7 changed files with 170 additions and 47 deletions
|
@ -4,3 +4,13 @@ def get_mesh_comm_group(address):
|
|||
|
||||
def indent_c(code):
|
||||
return " "+code.replace("\n", "\n ")
|
||||
|
||||
|
||||
def get_node_names():
|
||||
from c3nav.mesh.models import MeshNode
|
||||
return {
|
||||
**{node.address: node.name for node in MeshNode.objects.all()},
|
||||
'ff:ff:ff:ff:ff:ff': "broadcast",
|
||||
'00:00:00:ff:ff:ff': "direct parent",
|
||||
'00:00:00:00:00:00': "root",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue