Community discussions

MikroTik App
 
mkozak
just joined
Topic Author
Posts: 3
Joined: Sun Oct 04, 2020 10:07 pm

R11e-LoRa8 on Linux

Sun Oct 04, 2020 10:14 pm

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...
 
mkozak
just joined
Topic Author
Posts: 3
Joined: Sun Oct 04, 2020 10:07 pm

Re: R11e-LoRa8 on Linux

Sun Mar 07, 2021 10:22 pm

MikroTik - any chance to get an answer here?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: R11e-LoRa8 on Linux

Sun Mar 07, 2021 10:27 pm

You'd have better chance of getting answer by sending e-mail to support@mikrotik.com .
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1888
Joined: Sun Jan 06, 2013 11:19 pm
Location: Poland

Re: R11e-LoRa8 on Linux

Mon Mar 08, 2021 10:52 am

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.
 
girts
just joined
Posts: 22
Joined: Mon Dec 16, 2019 5:56 pm

Re: R11e-LoRa8 on Linux

Mon Mar 08, 2021 1:27 pm

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
 
mkozak
just joined
Topic Author
Posts: 3
Joined: Sun Oct 04, 2020 10:07 pm

Re: R11e-LoRa8 on Linux

Fri Mar 19, 2021 5:57 pm

Thank you Ģirts!

Your solution worked for me. It didn't occur to me I may have to change STM32FWVERSION
 
almeiras
newbie
Posts: 39
Joined: Fri Nov 15, 2019 9:16 pm
Location: Spain

Re: R11e-LoRa8 on Linux

Thu Dec 09, 2021 2:52 pm

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.
You do not have the required permissions to view the files attached to this post.
 
fram30
just joined
Posts: 1
Joined: Wed Feb 22, 2023 6:59 am

Re: R11e-LoRa8 on Linux

Wed May 03, 2023 10:45 am

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. :?: :?: :?:

Who is online

Users browsing this forum: No registered users and 23 guests