arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

Method that should be added.

Open Gabriel192K opened this issue 8 months ago • 2 comments

Hello, I was using this great library for quite some time but I never got around the fact it lacks a very basic method i.e. function. The method I imply should return some sort of device ID or chip version. This would be a great and simple way to check if the device is alive and/or connected. I saw you already used this but as a local check inside the be begin() function. So my whole point is to add a public method called version() or something similar to read that device ID. I'm already using this modified library and it works like a charm.

Gabriel192K avatar Mar 24 '25 07:03 Gabriel192K

I would name that getDeviceId() - version() would more relate to the library's version imho.

waltje avatar Apr 26 '25 19:04 waltje

@waltje yes, you’re right. The name is irrelevant as the point is to have a public method to access that register.

Gabriel192K avatar Apr 27 '25 23:04 Gabriel192K