BTW, we want to make a new module with SX1262 recently, and it will run Arduino. Do you know whether there is an usable LoRaWAN stack for Arduino which can work with SX1262?
You know, LMIC doesn’t support SX1262 now, so it can’t be used.
I’ve searched on Github, and found there is a repo which is developed based on Semtech Basicmac stack:
I know someone who’s implemented something to test the TXCO on the SX1262 and run some distance & freezer tests - I’ll see what he used but I’m aware he normally only does LoRa - I’ll come back to you
Ha, it’s getting a bit of a tangle. I’ve used matt’s library as well. All of the Arduino LMIC ports suffer from bit rot, the flow of code is not very clear, the more recent versions exceed the 32K so you have to use a larger Arduino and, this is the bit I hate, it uses a very simple task scheduler to sort out the timing which can make things very challenging to debug - which as it’s just for the two receive windows could have been accommodated with a simple blocking timer (like the original Ideetron library) or a timer interrupt. At one point I printed out the LMIC source so I could try & trace through it all.
I met lacuna.space at TTN UK conference - very ambitious project but they seem well resourced so they should be keeping the library up to date. But it still seems to be LMIC at the core.
There seem to be a number of options:
Using your current library and the information from the LacunaSpace repository to patch over the SX126x support
I haven’t tried your Arduino library on a RAK811 but it looks to be very similar to where I left Atmega328 + RFM95W behind due to space constraints, even moving to 4809 I couldn’t do some things like BME680 etc - part of our design goal for entry level devices is to provide a starter kit that’s very accessible - there are many people who can cope with Arduino - but once you start introducing HAL files etc for a moderate sized STM32 or similar, it all gets very complicated.
I can see that a BLE, LoRa with USB using the Arduino IDE for development & programming has a lot of potential! What are your timescales for your new module?
I prefer to use the LacunaSpace library https://github.com/LacunaSpace/basicmac to have a practice firstly, do you think that’s OK?
About the module, i think maybe you can see it in 2 month.