Page 1 of 1

R11e-LoRa8 on Linux

Posted: Sun Oct 04, 2020 10:14 pm
by mkozak
Hi,

I bought R11e-LoRa8 instead of a similar piece of hardware from RAK as I'm trying to spend money on European products as much as possible.
The thing is - I'd like to use it with carrier board for the RaspberryPi Compute Module (I already have it, it has mPCIe slot, system recognize the R11e-LoRa8 but I'm not able to use it due to lack of proper "drivers") - is it possible to get information on how the module is built (probably the FTDI part so I can port the drivers from RAK products and use it with my RPi CM)

If that's possible I'll buy many of these cards in the future, but I need them working first ;) As far as I'm concerned RouterOS is based on Linux so the drivers should be already there...

Re: R11e-LoRa8 on Linux

Posted: Sun Mar 07, 2021 10:22 pm
by mkozak
MikroTik - any chance to get an answer here?

Re: R11e-LoRa8 on Linux

Posted: Sun Mar 07, 2021 10:27 pm
by mkx
You'd have better chance of getting answer by sending e-mail to support@mikrotik.com .

Re: R11e-LoRa8 on Linux

Posted: Mon Mar 08, 2021 10:52 am
by SiB
This module is create for RouterOS, other OS are not supported.
Only direct contact with support can give you a some info.
That module use common SoC for LoRa.. try search by that way.

Re: R11e-LoRa8 on Linux

Posted: Mon Mar 08, 2021 1:27 pm
by girts
Hello,

You can use Semtech picoGW packet forwarder on any UNIX device. The steps to get R11e-LR8/9 working are the following:
1) run "git clone https://github.com/Lora-net/picoGW_hal.git";
2) Use any editor to edit line 33 of /picoGW_hal/libloragw/inc/loragw_mcu.h so that it looks like this:
#define STM32FWVERSION 0x010a0004 /* increment LSB for new version */
3) run "git clone https://github.com/Lora-net/picoGW_packet_forwarder.git";
4) Go to /picoGW_hal in the terminal and execute "make" command;
5) Go to /picoGW_packet_forwarder and execute "make" command;
6) Go to /picoGW_packet_forwarder/lora_pkt_fwd and edit global_conf.json to configure channels and server details;
7) Execute "dmesg" to see which ttyACM number is asigned for your LR card, if it is ttyACM0, you can run the forwarder by command "./lora_pkt_fwd", if it is any other ACM, you should run it as "./lora_pkt_fwd -d /dev/ttyACMX", where X stands for ACM number.



Best regards,
Ģirts

Re: R11e-LoRa8 on Linux

Posted: Fri Mar 19, 2021 5:57 pm
by mkozak
Thank you Ģirts!

Your solution worked for me. It didn't occur to me I may have to change STM32FWVERSION

Re: R11e-LoRa8 on Linux

Posted: Thu Dec 09, 2021 2:52 pm
by almeiras
Thank you @girts, your solution worked for me too. I tested it in a Raspberry Pi CM4. I just want to add that you can download a valid pre filled "global_conf.json" from TTN console. Just go to "gateways", click on your gateway, and then find this button:
Captura de pantalla 2021-12-09 a las 13.50.01.png
My next course of action is to try another software that enables the newer "basic rate" LoRaWAN protocol.

Re: R11e-LoRa8 on Linux

Posted: Wed May 03, 2023 10:45 am
by fram30
Help !!! Can r11e-lr8 work on Multitech mtcdt-leu1 with mlinux, and what are the steps to make it work? Thank you very much for your answers. :?: :?: :?: