Replies: 5 comments 6 replies
-
Hi @ropg, nice work on the library you linked. Now if you would have waited for a week or maybe two, you would have gotten a request to collaborate with us on a persistence interface in that repository that would provide an abstraction to be used by at some point a collection of platforms. Now, if you can wait, and not update just the points I mentioned here, we can put together some design document with what we think is best & necessary for an interface that does not only fit the needs that you put together for ESP32, but for each and everyone of us. Note that the collaboration on this is hanging by a silk thread - if you continue working on Open Source like it is a play ground just for you and your ESP32, then this is no place for you. |
Beta Was this translation helpful? Give feedback.
-
I just wanted to drop in here before the discussion has a chance to get heated and people post stuff they regret later (many a good project fell apart due to that particular pitfall). @ropg I like what you did there! RadioLib is meant to be modified to suit the user needs and it's always great to see projects being built on top of it. @StevenCellist I don't think @ropg proposed anything in particular to be done from our side. So I think the only thing he risks by experimenting is his own time going to waste - but only if his definition of "wasted time" includes "time spent writing code that may not end up in the upstream" and that may not be the case :) I too indulge myself in the occasional experiment (that is how RadioLib ended up with its more silly features, such as SSTV support). In any case, as @StevenCellist was saying, persistence will get revisited in the future, and that point I'd be more than happy to involve you @ropg, I think everyone (and especially the project) can benefit from that ;) |
Beta Was this translation helpful? Give feedback.
-
Suddenly reminded of: "Strong software is not released, it escapes!" 😎 |
Beta Was this translation helpful? Give feedback.
-
Truce. Will check out the confugurator, seems like a nice tool. As mentioned by @jgromes, the persistence will be revisited later. |
Beta Was this translation helpful? Give feedback.
-
Having vaguely nailed jelly to the wall yesterday with an update to the examples with some elements of the API still up for refinement, I can fully understand @StevenCellist's initial reaction and frankly, I'm slightly worried for the universe as I'm meant to be the belligerent one. The subtext / theme that runs through all of this is that neither of us do "Ta Dah" or self-publicity. So when @ropg's brings out his latest/brilliant/ultimate/whatever widget whilst we are at the bottom of the coal mine in the heat & sweat & dust, it's just a tad more than irritating and given most of my DNA is English, that's me being stiff upper lipped and polite. In theory we could just ignore @ropg's announcements but that's sort of rude, which again isn't a very British sort of thing. BTW, getting lots of stars on GitHub after offering up your library to Hackaday is just more "Ta Dah" and is not an endorsement. The quantity speaks to either Hackadays reach or the view of the visitors. The thing that concerns me most of all is the total lack of experience that, by self-admittance, Rop has with LoRaWAN so anything produced has to be scrutinised for detail - like checking sub-band entry is < 255 - or not including AU915 - or checking the combination of frequency plan (not band) & offering up the TTN sub-band as a default & proper restriction on the actual number of channel plans for a region. And the 64 or 128 bits is just a confusion for almost everyone as it's never presented as bits, not entered as bits and for many users they don't know or don't care. Cue people asking for a 64 bit 8 byte EUI and when you give them an EUI they say that it doesn't have 64 bits - because that's the sort of questions that come up. Rop positioning himself as the savour of the smaller maker from the evils of complexity is also self-aggrandisement of the highest order. What the hell does he think we are doing? LMIC works if you follow the instructions. You have to work hard to break LMIC-node. Neither do sleep for ESP32. So that's why we are here. Plus there is a whole community on TTN answering questions. And the results several years on are universally agreed, there is a small subset of makers that clearly have a thin grasp of the concepts of coding, doing things like pushing a float in to a char without casting or any comment on potential arising issues, but the vast majority of people struggling are experiencing the reality gap between short range Bluetooth/BLE or WiFi that was/is purposed designed for end users and a stack that requires a whole heap more than sanitised examples & utilities. You learn to juggle with tennis balls, there is no point making fireproof gloves for people to start out with lighted brands when what's actually needed is better information on how balanced objects rotate as they are thrown, so that the move from round items to batons is better understood. But that requires some theoretical learning, not the strong suit of the "Want it Now" generation who can't fix things when broken because they don't understand how they work. Curious to know how using MSVC & Arduino IDE is eating your own dog food - I'm not aware that you wrote those. TL;DR: Yes, provisioning over serial is a thing, rarely see it in the maker community as they can just put the details in to the config file, no one in their right mind should be using RadioLib LoRaWAN for a commercial project yet but when it's been hammered to death on various desks including someone who can tell us how much of the certification stack it passes, then serial provisioning may become a thing as people use the stack for devices that are sold. If you really want to help, read the last three years of the TTN forum and write docs on things like proximity of gateway to device when testing, how antenna gain works for & against the device & gateway, legal issues around duty cycle, applicable uses for LoRaWAN, creating efficient payload formats & transforming data on the device to suit and so forth. And while you are doing that, deploy a several dozen devices of different platforms and half a dozen gateways of different vendors and half a dozen different commercial devices so you can see what is going out outside the Heltec V3 bubble. |
Beta Was this translation helpful? Give feedback.
-
Thank y'all for working on RadioLib and LoRaWAN specifically!
I think I have built something that may or may not be of use to people wanting to use deep sleep on ESP32 and/or wanting to manage their LoRaWAN / TTN provisioning data in the ESP32 NVS key/value store. This interfaces with the new and wonderful
[get|set]Buffer[Nonces|Session]()
functionality in LoRaWANNode.Please check it out
I'd be happy for people to comment on it, test it, and for any feedback generally.
(I'm aware my code now does things that are possibly more generally needed and would, maybe, possibly, be more appropriate to be incorporated in LoRaWANNode, to do with textual representations of LoRaWAN bands (i.e. "EU868") which would be needed for anyone that wants to, say, populate a dropdown with them.)
@StevenCellist @HeadBoffin @jgromes
Beta Was this translation helpful? Give feedback.
All reactions