SlideShare a Scribd company logo
LoRa Multitech Conduit mLinux
Connecting to LoRaWan Networks
The Things Networks Dallas – June 29, 2017
Demo Outline
1. Multitech Conduit gateway intro
○ Installation and configuration
○ Packet forwarders
2. LoPy microprocessor sends data to TTN
○ OTAA vs ABP
○ Tracking data on node, gateway and network server
3. Zenseio sensor device sends data to Loriot
○ OTAA vs ABP
○ Tracking data on node, gateway and network server
Multitech Gateway -- First Sighting
● LoRa mDot; gateway antenna and mDot antenna
● Serial Monitor
● Ethernet configuration
● Network Server vs. Packet Forwarder
Multitech Conduit mLinux
Serial Monitor via mini-USB access
behind this plate
Ethernet USB slot
LoRa Card
(one only!)
http://www.multitech.net/developer/wp-content/uploads/2015/05/Conduit.pdf
Accessory cards
● Multi-Function Serial
● GPIO
● LoRaWAN
Network Server vs. Packet Forwarder
Default configuration is Network Server
● Ex. with Multitech mDot as node device (LoRa certified)
http://www.multitech.net/developer/software/lora/lora-network-server
http://www.multitech.com/brands/multiconnect-mdot
Network Server vs. Packet Forwarder
To connect to a 3rd party network server (TTN, Loriot) the gateway needs to be
configured as a packet forwarder
● Loriot packet forwarder: Easy!
● TTN packet forwarder: Several versions exist; state of flux
Multitech Conduit mLinux network config
DHCP
Static IP
DHCP lease
PuTTY via Serial port
Multitech Conduit mLinux packet forwarders
Could use Multitech’s packet forwarder:
http://www.multitech.net/developer/software/lora/conduit-mlinux-convert-to-basic-packet-forwarder
… Except that 3rd party network server provide their own.
(This is the easiest way to specify settings.)
Examples:
1. The Things Network - https://www.thethingsnetwork.org/forum/ → several versions posted on Forum
2. Loriot - https://us1.loriot.io/home/documentation.html#docu/gw-basic → gateway-specific instructions
Demo Configurations
Config #2
Config #1
Multitech Conduit mLinux - Show me the packets
“NEW” packet forwarder
Check gateway status and LoRa packets
Run installer.sh to configure gateway
Configuration #1:
LoPy - Multitech - TTN
Config #1: TTN > Gateway > Overview
Config #1: TTN > Gateway > Traffic
Config #1: TTN > Application > Device > Settings (ABP)
Config #1: TTN > Application > Device > Overview (ABP)
Config #1: TTN > Application > Device > Data (ABP)
Switch to
OTAA
Config #1: TTN > Application > Device > Overview (OTAA)
Config #1: LoPy
https://www.pycom.io/product/lopy/
“The LoPy is a triple bearer
MicroPython enabled microcontroller
(LoRa, Wifi, Bluetooth) – perfect
enterprise grade IoT platform for your
connected Things. With the latest
Espressif chipset the LoPy offers a
perfect combination of power,
friendliness and flexibility.”
Config #1: LoPy IDE
Watch execution here
See next slide
TTN frequencies
● Entire band is from 902 to 928 MHz
● TTN uses sub-band 2
● Device needs to use same channels,
or else...
http://www.rfwireless-world.com/Tutorials/LoRa-channels-list.html
Config #1: LoPy config - OTAA
Config #1: Follow the packets - OTAA
1: LoPy
2: TTN pkt forwarder
4: TTN Application
3: TTN Gateway
Activation may
take a while...
OTAA Activation message
Config #1: Switching ABP <-> OTAA on TTN
Config #1: LoPy config - ABP
Config #1: Follow the packets - ABP
2: TTN pkt forwarder
3: TTN Gateway
4: TTN Application
1: LoPy
No Activation for ABP
Configuration #2:
Zenseio - Multitech - Loriot
Config #2: Multitech mLinux Gateway - Loriot pkt forwarder
https://us1.loriot.io/home/gateways.html#docu/gwguide/multitech-conduit-mlinux
● Band centered at 903.08 MHz
● Loriot uses sub-band 1
● Device needs to use same channels
or else...
Loriot frequencies (???)
http://www.rfwireless-world.com/Tutorials/LoRa-channels-list.html
Config #2: Multitech mLinux Gateway - Loriot pkt forwarder
1. We need to replace packet forwarder: from TTN to Loriot
2. Loriot makes it easy - they provide supported forwarders for several gateways
3. Steps:
a. Stop TTN packet forwarder, or else… (see next slide)
b. Start Loriot packet forwarder
Config #2: From TTN to Loriot pkt forwarder
Connect to Loriot
Tight loop...
TTN pkt forwarder commands
https://www.thethingsnetwork.org/forum/t/switching-a-multitech-gateway-between-
multitechs-original-lora-network-server-and-the-ttn-server/4004/8
Config #2: From TTN to Loriot pkt forwarder
Stop pkt forwarder this way
(Kill -9 doesn’t do it)
Start Loriot pkt forwarder in foreground
(Just in case...)
Reboot
Config #2: Loriot packet forwarder now running...
To remove Loriot packet gateway:
root@mtcdt:/opt/lrt# rm /etc/init.d/loriot-gw 2> /dev/null
root@mtcdt:/opt/lrt# update-rc.d loriot-gw remove 2> /dev/null
Removing any system startup links for loriot-gw ...
https://us1.loriot.io/home/gateways.html#gateway?gw=000800FFFF4A179C
Config #2: Loriot gateway packets
LoRa packets
Downlink
Config #2: Loriot server Dashboard
Config #2: Loriot Application
Config #2: Loriot Device
ABP vs
OTAA?
Config #2: Zenseio ABP vs OTAA
OTAAABP
Config #2: Zenseio sketch - Loriot settings
OTAA
ABP
From Loriot back to TTN pkt forwarder
1: Kill Loriot pkt
forwarder
2: Start TTN
pkt forwarder
3: TTN pkt
forwarder running...
Other Topics...
Multitech Conduit - If completely stuck...
Reset: short pin push - reset; 5+ sec pin push - reset to factory defaults
Note: May not work if packet forwarder misbehaves
Ex. Tight loop waiting forever on Internet connection
http://www.multitech.net/developer/forums/topic/cannot-reset-conduit-mlinux
Reflash support: $80
http://www.multitech.net/developer/products/conduit/resetting-the-device/
How To
1. Versions
2. HW IDs
3. Logs
4. Getting help
Lessons Learned
1. Solder components even if you don’t feel like it!
2. Upgrade your devices even if you don’t feel like it!
3. Use recent information in postings on forums! This is still an emergent field!
4. Re-re-reminder to self: Documenting demos is painful!
○ But projects are fun!

More Related Content

What's hot

Product List_ Four-Faith
Product List_ Four-FaithProduct List_ Four-Faith
Product List_ Four-Faith
Allen Yap
 
Cambium network ptp 810 series 01 00 system release note
Cambium network ptp 810 series 01 00 system release noteCambium network ptp 810 series 01 00 system release note
Cambium network ptp 810 series 01 00 system release note
Advantec Distribution
 
TAINET New VoIP Solution
TAINET New VoIP SolutionTAINET New VoIP Solution
TAINET New VoIP Solution
TAINET
 
Profile Hierarchy GPON-FTTH [DASAN Networks]
Profile Hierarchy GPON-FTTH [DASAN Networks]Profile Hierarchy GPON-FTTH [DASAN Networks]
Profile Hierarchy GPON-FTTH [DASAN Networks]
Ahmed Ali
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
Kashif Latif
 
Ukk tkj p1 proxy mikrotik2014 2015
Ukk tkj p1 proxy mikrotik2014 2015Ukk tkj p1 proxy mikrotik2014 2015
Ukk tkj p1 proxy mikrotik2014 2015
Riza Hafizhuddin
 

What's hot (20)

TAINET Product Overview 2016
TAINET Product Overview 2016TAINET Product Overview 2016
TAINET Product Overview 2016
 
PLNOG 13: Krzysztof Konkowski: Cisco Access Architectures: GPON, Ethernet, Ac...
PLNOG 13: Krzysztof Konkowski: Cisco Access Architectures: GPON, Ethernet, Ac...PLNOG 13: Krzysztof Konkowski: Cisco Access Architectures: GPON, Ethernet, Ac...
PLNOG 13: Krzysztof Konkowski: Cisco Access Architectures: GPON, Ethernet, Ac...
 
CCNA ppt Day 5
CCNA ppt Day 5CCNA ppt Day 5
CCNA ppt Day 5
 
Product List_ Four-Faith
Product List_ Four-FaithProduct List_ Four-Faith
Product List_ Four-Faith
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
Cambium network ptp 810 series 01 00 system release note
Cambium network ptp 810 series 01 00 system release noteCambium network ptp 810 series 01 00 system release note
Cambium network ptp 810 series 01 00 system release note
 
Packet Radio Overview
Packet Radio OverviewPacket Radio Overview
Packet Radio Overview
 
1-8 Channels Voice Over Fiber Series
1-8 Channels Voice Over Fiber Series1-8 Channels Voice Over Fiber Series
1-8 Channels Voice Over Fiber Series
 
TAINET New VoIP Solution
TAINET New VoIP SolutionTAINET New VoIP Solution
TAINET New VoIP Solution
 
Ospf
OspfOspf
Ospf
 
CCNAS :Multi Area OSPF
CCNAS :Multi Area OSPFCCNAS :Multi Area OSPF
CCNAS :Multi Area OSPF
 
Kablosuz İletişim ve Güvenlik
Kablosuz İletişim ve Güvenlik Kablosuz İletişim ve Güvenlik
Kablosuz İletişim ve Güvenlik
 
Profile Hierarchy GPON-FTTH [DASAN Networks]
Profile Hierarchy GPON-FTTH [DASAN Networks]Profile Hierarchy GPON-FTTH [DASAN Networks]
Profile Hierarchy GPON-FTTH [DASAN Networks]
 
Open Shortest Path First
Open Shortest Path FirstOpen Shortest Path First
Open Shortest Path First
 
Overview on industrial grade 4 g wireless routers
Overview on industrial grade 4 g wireless routersOverview on industrial grade 4 g wireless routers
Overview on industrial grade 4 g wireless routers
 
Exploration routing chapter 4
Exploration routing chapter 4Exploration routing chapter 4
Exploration routing chapter 4
 
Fttx configuration-577 k-_ver_31072011
Fttx configuration-577 k-_ver_31072011Fttx configuration-577 k-_ver_31072011
Fttx configuration-577 k-_ver_31072011
 
CCNP Route EIGRP Overview
CCNP Route  EIGRP OverviewCCNP Route  EIGRP Overview
CCNP Route EIGRP Overview
 
Ukk tkj p1 proxy mikrotik2014 2015
Ukk tkj p1 proxy mikrotik2014 2015Ukk tkj p1 proxy mikrotik2014 2015
Ukk tkj p1 proxy mikrotik2014 2015
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 

Similar to TTN (The Things Network) Dallas - June 29, 2017

project on OSPF
project on OSPFproject on OSPF
project on OSPF
Om Prakash
 
Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
FFRI, Inc.
 
Lte system signaling procedures
Lte system signaling proceduresLte system signaling procedures
Lte system signaling procedures
tharinduwije
 
GPON technology equipment fiberhoe technologies indo
GPON technology equipment fiberhoe technologies indoGPON technology equipment fiberhoe technologies indo
GPON technology equipment fiberhoe technologies indo
rizkiutomo1992
 

Similar to TTN (The Things Network) Dallas - June 29, 2017 (20)

project on OSPF
project on OSPFproject on OSPF
project on OSPF
 
Netw204 Quiz Answers Essay
Netw204 Quiz Answers EssayNetw204 Quiz Answers Essay
Netw204 Quiz Answers Essay
 
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdfBRKRST-3068  Troubleshooting Catalyst 2K and 3K.pdf
BRKRST-3068 Troubleshooting Catalyst 2K and 3K.pdf
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configuration
 
ACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACITACIT - CCNA Training Course Topic - Switch Stp ACIT
ACIT - CCNA Training Course Topic - Switch Stp ACIT
 
Mr201304 open flow_security_eng
Mr201304 open flow_security_engMr201304 open flow_security_eng
Mr201304 open flow_security_eng
 
Ccna Imp Guide
Ccna Imp GuideCcna Imp Guide
Ccna Imp Guide
 
Session 2
Session 2Session 2
Session 2
 
Demuxed 2020
Demuxed 2020Demuxed 2020
Demuxed 2020
 
8051
80518051
8051
 
2015.7.17 JANOG36 BGP Flowspec Interoperability Test @ Interop Tokyo 2015 Sho...
2015.7.17 JANOG36 BGP Flowspec Interoperability Test @ Interop Tokyo 2015 Sho...2015.7.17 JANOG36 BGP Flowspec Interoperability Test @ Interop Tokyo 2015 Sho...
2015.7.17 JANOG36 BGP Flowspec Interoperability Test @ Interop Tokyo 2015 Sho...
 
TTN (The Things Network) Dallas - April 17, 2019
TTN (The Things Network) Dallas - April 17, 2019TTN (The Things Network) Dallas - April 17, 2019
TTN (The Things Network) Dallas - April 17, 2019
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
 
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
Nilden Tutular, Volkan Balikci, Uygar Zubari [Eldor Corporation] | MQTT - Mac...
 
Transport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in KoreaTransport SDN & OpenDaylight Use Cases in Korea
Transport SDN & OpenDaylight Use Cases in Korea
 
Lte system signaling procedures
Lte system signaling proceduresLte system signaling procedures
Lte system signaling procedures
 
What is LoRaNET?
What is LoRaNET?What is LoRaNET?
What is LoRaNET?
 
03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_03 ft48923 en02gla0_general topics_
03 ft48923 en02gla0_general topics_
 
Id. 01 router (computing)
Id. 01 router (computing)Id. 01 router (computing)
Id. 01 router (computing)
 
GPON technology equipment fiberhoe technologies indo
GPON technology equipment fiberhoe technologies indoGPON technology equipment fiberhoe technologies indo
GPON technology equipment fiberhoe technologies indo
 

More from Marta Soncodi

Toastmasters Secretary App
Toastmasters Secretary AppToastmasters Secretary App
Toastmasters Secretary App
Marta Soncodi
 

More from Marta Soncodi (6)

TTN (The Things Network) Dallas at TM PMI Dallas - 17Dec16
TTN (The Things Network) Dallas at TM PMI Dallas - 17Dec16TTN (The Things Network) Dallas at TM PMI Dallas - 17Dec16
TTN (The Things Network) Dallas at TM PMI Dallas - 17Dec16
 
TTN Dallas - 7Dec16
TTN Dallas - 7Dec16TTN Dallas - 7Dec16
TTN Dallas - 7Dec16
 
Building IoT App Prototypes
Building IoT App PrototypesBuilding IoT App Prototypes
Building IoT App Prototypes
 
Toastmasters Secretary App
Toastmasters Secretary AppToastmasters Secretary App
Toastmasters Secretary App
 
Stay Connected in a Connected World
Stay Connected in a Connected WorldStay Connected in a Connected World
Stay Connected in a Connected World
 
Prototyping Workshop - Wireframes, Mockups, Prototypes
Prototyping Workshop - Wireframes, Mockups, PrototypesPrototyping Workshop - Wireframes, Mockups, Prototypes
Prototyping Workshop - Wireframes, Mockups, Prototypes
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»НАДІЯ ФЕДЮШКО БАЦ  «Професійне зростання QA спеціаліста»
НАДІЯ ФЕДЮШКО БАЦ «Професійне зростання QA спеціаліста»
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 

TTN (The Things Network) Dallas - June 29, 2017

  • 1. LoRa Multitech Conduit mLinux Connecting to LoRaWan Networks The Things Networks Dallas – June 29, 2017
  • 2. Demo Outline 1. Multitech Conduit gateway intro ○ Installation and configuration ○ Packet forwarders 2. LoPy microprocessor sends data to TTN ○ OTAA vs ABP ○ Tracking data on node, gateway and network server 3. Zenseio sensor device sends data to Loriot ○ OTAA vs ABP ○ Tracking data on node, gateway and network server
  • 3. Multitech Gateway -- First Sighting ● LoRa mDot; gateway antenna and mDot antenna ● Serial Monitor ● Ethernet configuration ● Network Server vs. Packet Forwarder
  • 4. Multitech Conduit mLinux Serial Monitor via mini-USB access behind this plate Ethernet USB slot LoRa Card (one only!) http://www.multitech.net/developer/wp-content/uploads/2015/05/Conduit.pdf Accessory cards ● Multi-Function Serial ● GPIO ● LoRaWAN
  • 5. Network Server vs. Packet Forwarder Default configuration is Network Server ● Ex. with Multitech mDot as node device (LoRa certified) http://www.multitech.net/developer/software/lora/lora-network-server http://www.multitech.com/brands/multiconnect-mdot
  • 6. Network Server vs. Packet Forwarder To connect to a 3rd party network server (TTN, Loriot) the gateway needs to be configured as a packet forwarder ● Loriot packet forwarder: Easy! ● TTN packet forwarder: Several versions exist; state of flux
  • 7. Multitech Conduit mLinux network config DHCP Static IP DHCP lease PuTTY via Serial port
  • 8. Multitech Conduit mLinux packet forwarders Could use Multitech’s packet forwarder: http://www.multitech.net/developer/software/lora/conduit-mlinux-convert-to-basic-packet-forwarder … Except that 3rd party network server provide their own. (This is the easiest way to specify settings.) Examples: 1. The Things Network - https://www.thethingsnetwork.org/forum/ → several versions posted on Forum 2. Loriot - https://us1.loriot.io/home/documentation.html#docu/gw-basic → gateway-specific instructions
  • 10. Multitech Conduit mLinux - Show me the packets “NEW” packet forwarder Check gateway status and LoRa packets Run installer.sh to configure gateway
  • 11. Configuration #1: LoPy - Multitech - TTN
  • 12. Config #1: TTN > Gateway > Overview
  • 13. Config #1: TTN > Gateway > Traffic
  • 14. Config #1: TTN > Application > Device > Settings (ABP)
  • 15. Config #1: TTN > Application > Device > Overview (ABP)
  • 16. Config #1: TTN > Application > Device > Data (ABP) Switch to OTAA
  • 17. Config #1: TTN > Application > Device > Overview (OTAA)
  • 18. Config #1: LoPy https://www.pycom.io/product/lopy/ “The LoPy is a triple bearer MicroPython enabled microcontroller (LoRa, Wifi, Bluetooth) – perfect enterprise grade IoT platform for your connected Things. With the latest Espressif chipset the LoPy offers a perfect combination of power, friendliness and flexibility.”
  • 19. Config #1: LoPy IDE Watch execution here See next slide
  • 20. TTN frequencies ● Entire band is from 902 to 928 MHz ● TTN uses sub-band 2 ● Device needs to use same channels, or else... http://www.rfwireless-world.com/Tutorials/LoRa-channels-list.html
  • 21. Config #1: LoPy config - OTAA
  • 22. Config #1: Follow the packets - OTAA 1: LoPy 2: TTN pkt forwarder 4: TTN Application 3: TTN Gateway Activation may take a while... OTAA Activation message
  • 23. Config #1: Switching ABP <-> OTAA on TTN
  • 24. Config #1: LoPy config - ABP
  • 25. Config #1: Follow the packets - ABP 2: TTN pkt forwarder 3: TTN Gateway 4: TTN Application 1: LoPy No Activation for ABP
  • 26. Configuration #2: Zenseio - Multitech - Loriot
  • 27. Config #2: Multitech mLinux Gateway - Loriot pkt forwarder https://us1.loriot.io/home/gateways.html#docu/gwguide/multitech-conduit-mlinux
  • 28. ● Band centered at 903.08 MHz ● Loriot uses sub-band 1 ● Device needs to use same channels or else... Loriot frequencies (???) http://www.rfwireless-world.com/Tutorials/LoRa-channels-list.html
  • 29. Config #2: Multitech mLinux Gateway - Loriot pkt forwarder 1. We need to replace packet forwarder: from TTN to Loriot 2. Loriot makes it easy - they provide supported forwarders for several gateways 3. Steps: a. Stop TTN packet forwarder, or else… (see next slide) b. Start Loriot packet forwarder
  • 30. Config #2: From TTN to Loriot pkt forwarder Connect to Loriot Tight loop...
  • 31. TTN pkt forwarder commands https://www.thethingsnetwork.org/forum/t/switching-a-multitech-gateway-between- multitechs-original-lora-network-server-and-the-ttn-server/4004/8
  • 32. Config #2: From TTN to Loriot pkt forwarder Stop pkt forwarder this way (Kill -9 doesn’t do it) Start Loriot pkt forwarder in foreground (Just in case...) Reboot
  • 33. Config #2: Loriot packet forwarder now running... To remove Loriot packet gateway: root@mtcdt:/opt/lrt# rm /etc/init.d/loriot-gw 2> /dev/null root@mtcdt:/opt/lrt# update-rc.d loriot-gw remove 2> /dev/null Removing any system startup links for loriot-gw ... https://us1.loriot.io/home/gateways.html#gateway?gw=000800FFFF4A179C
  • 34. Config #2: Loriot gateway packets LoRa packets Downlink
  • 35. Config #2: Loriot server Dashboard
  • 36. Config #2: Loriot Application
  • 37. Config #2: Loriot Device ABP vs OTAA?
  • 38. Config #2: Zenseio ABP vs OTAA OTAAABP
  • 39. Config #2: Zenseio sketch - Loriot settings OTAA ABP
  • 40. From Loriot back to TTN pkt forwarder 1: Kill Loriot pkt forwarder 2: Start TTN pkt forwarder 3: TTN pkt forwarder running...
  • 42. Multitech Conduit - If completely stuck... Reset: short pin push - reset; 5+ sec pin push - reset to factory defaults Note: May not work if packet forwarder misbehaves Ex. Tight loop waiting forever on Internet connection http://www.multitech.net/developer/forums/topic/cannot-reset-conduit-mlinux Reflash support: $80 http://www.multitech.net/developer/products/conduit/resetting-the-device/
  • 43. How To 1. Versions 2. HW IDs 3. Logs 4. Getting help
  • 44. Lessons Learned 1. Solder components even if you don’t feel like it! 2. Upgrade your devices even if you don’t feel like it! 3. Use recent information in postings on forums! This is still an emergent field! 4. Re-re-reminder to self: Documenting demos is painful! ○ But projects are fun!