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?
 
mkx
Forum Guru
Forum Guru
Posts: 6650
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 .
BR,
Metod
 
User avatar
SiB
Forum Guru
Forum Guru
Posts: 1800
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.
MTCNA + MTCRE + MTCINE | ~800 users at ~150 RouterBoards in EMEA
Knowledge Base about LTE by SiB | Buy me a caffe | Telegram: http://t.me/SiB_PL
 
girts
just joined
Posts: 17
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

Who is online

Users browsing this forum: AllexRo and 15 guests