I need to connect a Raspberry Pi (as the server) to some different Arduino devices as clients. Some of the clients need to connect using Lora SX1278 modules, and others use NRF24L01+ (or any similar low cost radio). They will form a local network and not going to be connected to LoraWan. My SX1278 modules are from AiThinker.
Can I use the SX1278 module on RasPi to connect to both types of clients?
I could not find any stand-alone SX1278 library for RasPi, most of them are for building a LoraWan Gateway by RasPi.
The most commonly used Lora library for Arduino is SandeepMistry's. Is there any more feature rich library having AES encryption?
Edit:
Till now I found out two mistakes on my side:
I was wrong about NRF24, its frequency range doesn't match. I just need to use a cheap radio module, so my client devices' price remain low. Something like SI4432 seems to be good and supports FSK, GFSK, and OOK.
The client devices need to do simple sensor reading and relay switching tasks, and I need to keep client devices' cost as low as possible. So I need to find the cheapest micro-controller capable of AES encryption; Arduino or not.