meshtastic / js

JS/TS library for interfacing with Meshtastic devices
https://meshtastic.org
GNU General Public License v3.0
77 stars 36 forks source link

Only warn when a message's payloadVariant is unrecognized, rather than error. #82

Closed ianmcorvidae closed 6 months ago

ianmcorvidae commented 6 months ago

This was discussed a bit in discord, around the vicinity of https://discord.com/channels/867578229534359593/871553714782081024/1218233913311232041

short version there is that someone was seeing log messages of "ReadFromRadio ❌ Unhandled case 71". 71 is for NeighborInfo packets which the JS doesn't know how to do anything with (which is maybe a separate issue). Upon discussion @ajmcquilkin and I were thinking this seemed more warning-level than error-level.

Hopefully I've switched it to warning correctly, first JS PR obviously!