pull/135/head
Jm Casler 2022-03-29 21:44:02 -07:00
rodzic 89804a800d
commit ccd065cb50
1 zmienionych plików z 23 dodań i 4 usunięć

Wyświetl plik

@ -91,14 +91,33 @@ enum RegionCode {
enum Role {
/*
* Default device role
* Client device role
*/
Default = 0;
Client = 0;
/*
* Router device role
* ClientMute device role
* This is like the client but packets will not hop over this node. Would be
* useful if you want to save power by not contributing to the mesh.
*/
Router = 1;
ClientMute = 1;
/*
* Router device role.
* Uses an agressive algirithem for the flood networking so packets will
* prefer to be routed over this node. Also assume that this will be generally
* unattended and so will turn off the wifi/ble radio as well as the oled screen.
*/
Router = 2;
/*
* RouterClient device role
* Uses an agressive algirithem for the flood networking so packets will
* prefer to be routed over this node. Similiar power management as a regular
* client, so the RouterClient can be used as both a Router and a Client. Useful
* as a well placed base station that you could also use to send messages.
*/
RouterClient = 3;
}