I've done some searching in the docs, community, git & the greater Googles, but it seems that there just isn't a lot of info on the lockCodes capability yet. Most of the actions are pretty self-explanatory, but a couple of them seem to overlap, and I'm wondering what the intention behind them is so that I implement what ST had in mind.
Specifically, the actions I'm unsure of are updateCodes(string) and reloadAllCodes().
Taking a stab, I'd say that updateCodes will change the codes for multiple slots as designated by the string arg. But what is the string arg? Some kind of delimited structure of slot #/code pairs?
I'll guess, then, that reloadAllCodes will set all slots on the lock to the vales held in a local structure so the lock is back to a known state for all slots.
Also, what are the return values intended? For requestCode, I have a fairly good idea what the return might be. Or do they all typically return void & then an event is handled with an async return?
As I'm new to ST, I'm trying to wrap my head around conventions and whatnot. I'm a big fan of being able to fish for myself, so if there are resources I've missed, a pointer is much appreciated