Closed jp-bennett closed 6 months ago
I know this needs some added error-checking, but could somebody that knows portduino better give it a sanity check? Does this make sense?
Portduino is used on linux in general, not only raspberry type computers. can you provide both means of obtaining the mac address? E.G. only fall back to the raspberry way when the portduino config does not contain a Mac?
OK, so the logic should be that we use the MAC from the config if possible, and if empty we try to pull a Bluetooth MAC? Should be doable. And I think it could work on any machine with a Bluetooth adapter.
Yes, if there's a mac in the config, it has priority.
Portduino isn't returning a valid MAC Address, even though systems like the Raspberry Pi do have Bluetooth MAC we could use.