Affirmatech / MeshSense

MeshSense directly connects to your Meshtastic node via Bluetooth or WiFi and continuously provides information to assess the health of your mesh network.
https://affirmatech.com/meshsense
GNU General Public License v3.0
46 stars 6 forks source link

Update for CLIENT_MUTE Role in Nodes.svelte #31

Closed mblauser closed 3 days ago

mblauser commented 1 week ago

Keeps ROUTER and adds logic for other future ROUTER* roles.

Adds CLIENT_MUTE role; in such case displaying 'CM🙊'. Keeps logic for other future CLIENT* roles.

Optimizes resources for string functions to explicitly check for known/expected roles. Further optimizes resources by checking likelihood of CLIENT roles first before ROUTER roles, potentially matching and exiting each loop more quickly.

Soltares commented 6 days ago

Thank you for the contribution! I'll give it a try locally then merge :+1: