Advertisement

Quick Links

RisingHF
UM01811
RHF2S208 User Manual
V1.1
Document information
Info
Keywords
Abstract
Content
RisingHF, LoRa Gateway, Instruction, web-based utility
This document describes how to use RHF2S208, which
includes content about configuration, development and so on.
RHF2S208 User Manual

Advertisement

Table of Contents
loading

Summary of Contents for RisingHF RHF2S208

  • Page 1 RisingHF RHF2S208 User Manual UM01811 RHF2S208 User Manual V1.1 Document information Info Content Keywords RisingHF, LoRa Gateway, Instruction, web-based utility This document describes how to use RHF2S208, which Abstract includes content about configuration, development and so on.
  • Page 2: Table Of Contents

    RisingHF RHF2S208 User Manual Content 1 Preface................................... 1 2 Quick Start................................2 2.1 Get to know about your gateway.........................2 2.2 Set up your gateway............................. 3 2.2.1 Power supply............................4 2.2.2 Networking...............................4 2.2.3 Debug and Configure..........................4 2.3 Log into your gateway...........................5 2.3.1 Login with COM port..........................5 2.3.2 Login with DHCP............................
  • Page 3 5.1.3 Choose preinstalled frequency plan....................29 5.1.4 Start Packet Forwarder service......................30 5.1.5 Stop Packet Forwarder service......................30 5.2 Loriot Server( loriot.io )..........................30 5.2.1 Register RHF2S208 Gateway......................31 5.2.2 Start Loriot Service..........................31 5.2.3 Configure Gateway Frequency......................32 5.2.4 Loriot Firmware Upgrade........................32 5.3 Aisenz Server ( loraflow.io )........................32...
  • Page 4 RisingHF RHF2S208 User Manual 8 FAQ..................................41 Revision................................... 43...
  • Page 5: Preface

    1 Preface RHF2S208 is an IoT gateway/concentrator which integrates POE, LTE/4G/3G, GPS, WiFi and LoRa, designed and manufactured by RisingHF. This document will describe how to use and configure RHF2S208, for end-user and developer usage. Covers:  Quick start Get to know about your gateway ...
  • Page 6: Quick Start

    ANT1 ANT3 ANT4 ANT5 : The RHF2S208 gateway have 4 antenna ports. ANT1 is for LoRa antenna (ANT2 is not used at this moment). ANT3 is for GPS antenna. ANT4 is for WiFi Antenna. ANT5 is for LTE Antenna.
  • Page 7: Set Up Your Gateway

    RisingHF RHF2S208 User Manual Figure 2-1 Apperance of RHF2S208 2.2 Set up your gateway Please set up your gateway like Figure 2-2 shown below. V1.1 2018-10-9 www.risinghf.com...
  • Page 8: Power Supply

    Figure 2-2 Set up your gateway 2.2.1 Power supply RHF2S208 could be powered by both AC/DC adapter and PoE injector. An high reliability industrial IP67 AC to DC adapter is configured for each gateway when it comes out from the factory. Specially, a 3.2Ah LiFePo4 battery is integrated for RHF2S208Bxx.
  • Page 9: Log Into Your Gateway

    PC with a type A female to type A female USB cable and you will find a COM port. Open the Etraputty and select “Serial” connection type with COM3 port for example and baudrate=115200. Figure 2-3 Login with COM port Then input user name “rxhf” and password “risinghf” to log into the system. V1.1 2018-10-9 www.risinghf.com...
  • Page 10: Login With Dhcp

    Figure 2-4 Login with user name and password 2.3.2 Login with DHCP Connect your gateway with DHCP router, log in router or scan IP to get RHF2S208 ip. Hostname of your gateway is "RHF2S208". After get ip, user could use SSH tool to log the device check or set configuration.
  • Page 11: Login With Wifi

    RisingHF RHF2S208 User Manual Figure 2-5 Login with DHCP Linux ssh rxhf@192.168.0.182 2.3.3 Login with WiFi Scan the WiFi SSID with your PC and you will find your gateway whose SSID is RHF2S208_xxxxxx end with the last 3 bytes of the MAC address of the gateway. Connect your gateway to this WiFi. The default ip of the WiFi gateway is 192.168.8.1.
  • Page 12 RisingHF RHF2S208 User Manual Figure 2-6 SCAN and find the WiFi SSID of your gateway Figure 2-7 Login with WiFi V1.1 2018-10-9 www.risinghf.com...
  • Page 13: Connect To A Lorawan Server

    2.4 Connect to a LoRaWAN server 2.4.1 Connect to a standard packet forwarder server Standard Semtech Packet forwarder service is support by RHF2S208 series gateway. You could connect the gateway to any target server support packet forwarder interface. Please follow step below...
  • Page 14: Connect To Cn1.Loriot.io

    5) Use command to disable and stop loriot serivce sudo systemctl stop loriot-gw.service sudo systemctl disable loriot-gw.service 3 Device File System RHF2S208 firmware use Systemd structure. User could use systemctl and journalctl to manage the integrated services and check log. 3.1 Log In User name: rxhf Password: risinghf V1.1 2018-10-9...
  • Page 15: Device File System

    RisingHF RHF2S208 User Manual 3.2 Device File System /home/rxhf and /opt are very important directory for user. V1.1 2018-10-9 www.risinghf.com...
  • Page 16: Opt

    RisingHF RHF2S208 User Manual 3.2.1 /opt /opt contains the working directory of most LoRaWAN serivices. And this will be updating when there is more services added. Figure 3-1 /opt file in gateway 3.2.2 /usr/local /usr/local contains most of internal services of the gateway.
  • Page 17: Web-Based Utility

    RisingHF RHF2S208 User Manual 4 Web-based utility With the web-based utility, it is easily to configure and manage your gateway. Default user name: rxhf Default password: risinghf There are two ways to open the built-in web of your gateway: 1) Connect your PC to the WiFi of your gateway and use 192.168.8.1 to open the built-in web with the web browser.
  • Page 18: Status Bar

    RisingHF RHF2S208 User Manual Figure 4-4 Built-in Web page after login 4.1 Status bar A status bar show some key status of the hardware. Users could have a quick glimpse to check status of the hardware of your gateway. Each parameters on the status bar have 3 status with different color.
  • Page 19: Navigation Bar

    RisingHF RHF2S208 User Manual For series RHF2S20xExx which have no internal battery, the bar “Internal Battery Supply” is grey. For series RHF2S208xxx which have just LoRa module 0 only support 8 channels, the bar “LoRa module 1” is grey. 4.2 Navigation bar...
  • Page 20: Lorawan Configuration

    RisingHF RHF2S208 User Manual Figure 4-7 Device information of RHF2S208 4.2.2 LoRaWAN Configuration With LoRaWAN Configuration you could do: 1) LoRaWAN Configuration (Connect to a LoRaWAN server) Protocol version: select standard packet forwarder or other protocol to connect to a target server Gateway ID: fill in the gateway ID.
  • Page 21 RisingHF RHF2S208 User Manual Figure 4-8 LoRaWAN configuration 2) Noise floor scanning Noise floor scanning is a very useful tool when you want to check that there is some interfernce or noise in the band your gateway work. Please fill in the Start Frequency and Stop Frequency and click Start Scanning to start noise scan. The default scanning band is 2MHz if you just input start frequency.
  • Page 22: Network Configuration

    RisingHF RHF2S208 User Manual Figure 4-10 Noise cannning example @470 to 472MHz 4.2.3 Network Configuration The network configuration panel is for WiFi configuration. You could re-configure the ip address of the WiFi router from default 192.168.8.1 to any you want. SSID name and password also could be modified as you want.
  • Page 23 RisingHF RHF2S208 User Manual Figure 4-12 System Analysis Log 2) LTE analysis log LTE analysis log could be used to check and analyse the offline issue, which include the dialing log. Figure 4-13 LTE Analysis Log 3) Ethernet Analysis Log Ethernet analysis log record the connection and disconnection between the gateway and the ethernet.
  • Page 24 RisingHF RHF2S208 User Manual Figure 4-14 Ethernet Analysis Log 4) Runtime Log Each time the gateway power on or reboot will trigger a log, which we call runtime log. With this log, we could know that when the gateway is reboot or powered on.
  • Page 25: Firmware Upgrade

    RisingHF RHF2S208 User Manual Figure 4-17 Temperature Analysis Log 7) Power Management Log Power management log include the power on/off log and discarging log with battery supply. With this log, you could check it when the gateway is off or restart abnormaly.
  • Page 26: Shortcut Button

    RisingHF RHF2S208 User Manual Figure 4-19 Firmware Upgrade 4.3 Shortcut button There is a shortcut button list on the upper right corner of the web page. With this shortcut button list, you can do quick diagnosis, system reset, set priority of the backhaul networking and sign out.
  • Page 27: System Reset

    RisingHF RHF2S208 User Manual Figure 4-22 Quick Diagnosis ongoing Figure 4-23 Quick Diagnosis complete NOTE: The system will be reboot after quick diagnosis. 4.3.2 System Reset System Reset is used to reset the system. When you click “system reset” bar on the shortcut button list, a “Whether To Restart The Gatway”...
  • Page 28: Networking Backhaul

    RisingHF RHF2S208 User Manual Figure 4-25 System Reset progress ongoing 4.3.3 Networking Backhaul You could configure the priority of the networking. 4G LTE is the first choice in default. But the networking will be switched to wired 10/100m ethernet automatically if 4G LTE is off-line. And you could re-configure the priority.
  • Page 29: Sign Out

    Sign out button will make it return to the login web page. 5 LoRaWAN Server Solutions According to the different request, user could choose which server to connect to. RHF2S208 integrates several third party manufacture’s server like Loriot.io and Loraflow.io, and also preinstall the packet forwarder program for customer’s convenience.
  • Page 30 RisingHF RHF2S208 User Manual ============================================================================== rxhf@rhf2s208:/opt/pktfwd$ ls -l total 188 drwxr-xr-x 7 root root 4096 Jun 21 11:16 cfg lrwxrwxrwx 1 root root 50 Jul 30 11:40 global_conf.json -> /opt/pktfwd/cfg/470/global_conf_cn470_ch88_95.json -rw-r--r-- 1 root root 215 Jul 18 08:33 local_conf.json -rwxr-xr-x 1 root root 166240 Jul...
  • Page 31 RisingHF RHF2S208 User Manual { "rf_power": -1, "dig_gain": 0, "mix_gain": 8, "tx_lut_0": "pa_gain": { "rf_power": 2, "tx_lut_1": "dig_gain": 0, "mix_gain": 10, "pa_gain": { "rf_power": 5, "tx_lut_2": "dig_gain": 0, "mix_gain": 12, "pa_gain": { "rf_power": 6, "tx_lut_3": "dig_gain": 0, "mix_gain": 8, "pa_gain": { "rf_power": 8,...
  • Page 32: Customized Channels

    RisingHF RHF2S208 User Manual In combination with description above, SX1301 has below features: 1. One SX1301 supports 2 Radios. SX1255 or SX1257 can be used . 2. One SX1301 could support maximum 10 channels, of which 8 Multi-SF channels, 1 standard channel and 1 FSK channel.
  • Page 33: Configure Server Address

    RisingHF RHF2S208 User Manual g) CH3 867.1MHz Multi-SF h) CH4 867.3MHz Multi-SF i) CH5 867.5MHz Multi-SF j) CH6 867.7MHz Multi-SF k) CH7 867.9MHz Multi-SF l) CH8 868.3MHz LoRa Standard SF7/250KHz m) CH9 868.8MHz FSK 50Kbps 5.1.2 Configure server address Edit local_conf.json file. Modify...
  • Page 34: Start Packet Forwarder Service

    `ls -l /opt/risinghf/pktfwd` /opt/risinghf/pktfwd 3. Physical frequency which is supported by RHF2S208 is decided by the hardware. For example RHF2S208xxx-470 only support 470MHz frequency band, doesn’t support 433MHz, 868MHz etc... 4. Other undocumented channels plans, user could calculate each channel frequency according to the previous description.
  • Page 35: Register Rhf2S208 Gateway

    5.2.1 Register RHF2S208 Gateway 1) Get MAC address, which is in format xx:xx:xx:xx:xx:xx. MAC address is sticky on the side of the RHF2S208 device. You could also use command ifconfig to get the MAC address or find it on the web-based utility.
  • Page 36: Configure Gateway Frequency

    Set gateway frequency, open loriot console find gateway page. Choose frequency plan. Check online documentation for more details. https://cn1.loriot.io/home/documentation.html#docu/frequency-plan 5.2.4 Loriot Firmware Upgrade Please download loriot-risinghf-RHF2S208-xxxxxx-SPI-0-latest.bin file, and replace /opt/loriot/bin/loriot- sudo su cd /opt/loriot/bin wget URL -O loriot-gw Please get the actual URL from the gateway page.
  • Page 37: Start/Stop Loraflow Sdk

    6.1 Networking Backhaul 6.1.1 Cellular Network (LTE/4G/3G) RHF2S208 device embedded service for wireless networking backhaul which is named lte, and is an auto start service. Use below command to check log of lte service: sudo journalctl -f -n 200 -u lte...
  • Page 38 RisingHF RHF2S208 User Manual ifconfig ppp0  After dial-up success, system will generate ppp0 device. rxhf@RHF2S208:~$ ifconfig ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:10.65.6.136 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:56 (56.0 B)
  • Page 39: 10/100M Ethernet

    Figure 6-1 Eth0 interface 6.1.3 Networking priority choice RHF2S208 could connect to the cloud server with wireless 4G LTE networking or wired 10/100m ethernet networking. And you could set the priority of the two modes on the web-based utility. The system would be reboot after you reconfigure the priority of the networking for backhaul, then you could use command route to check if the priority is changed or not.
  • Page 40: Wifi Accessing

    The last 6 characters are same for both SSID and the password, which are the last 3 bytes of the MAC address. Then you can use 192.168.8.1 to access into the gateway on the web-based utility. Figure 6-4 Scan WiFi SSID of RHF2S208 V1.1 2018-10-9 www.risinghf.com...
  • Page 41: Use Gps Module

    You could also use command ifconfig to check the interface Wlan0. Figure 6-6 Use command to check interface Wlan0 6.3 Use GPS module RHF2S208 embedded on board GPS module (MAX-7Q), which is necessary for LoRaWAN Class B network. Access gps module through , default baud rate 9600.
  • Page 42: Temperature Monitor

    RisingHF RHF2S208 User Manual $GPVTG,,,,,,,,,N*30 $GPGGA,095521.00,,,,,0,00,99.99,,,,,,*6C $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30 $GPGSV,4,1,13,01,70,146,,03,09,158,,07,75,257,,08,36,031,*77 $GPGSV,4,2,13,09,15,217,,11,80,034,,16,06,101,,17,14,253,*7D $GPGSV,4,3,13,22,17,134,,23,05,183,,27,06,051,,28,20,314,*7B $GPGSV,4,4,13,30,41,313,*4C $GPGLL,,,,,095521.00,V,N*40 6.4 Temperature monitor A temperature monitor is integrated inside your gateway. You could use both command sudo get_temp to get the temperature or download the tempmerature log with the web-based utility.
  • Page 43: Rtc

    6.7 Remote Support with rssh service RHF2S208 integrates a rssh service, which could enable RisingHF to access your RHF2S208 device remotely. It is closed by default. (Note: this function can be only used by RisingHF to support customer when necessary)
  • Page 44: Factory Default Restore

    7.2 Bootloader Mode Set RHF2S208 to entern Bootloader mode 1) Cut off RHF2S208 power 2) Connect Micro USB cable let RHF2S208 to connect with PC 3) Restart RHF2S208 4) Bootloader mode enabled 7.3 Program Check online document to burn RHF2S208 firmware.
  • Page 45 RisingHF RHF2S208 User Manual 8 FAQ Q1: Customized global_conf.json file can’t be recognized by packet forwarder? A1: Check below rule. Every object must end with comma, except the last member of a object or array. ( // and /* */ are special comment format, no need consider it)
  • Page 46 Figure 8-1 select the right radio front-end for your gateway when registered in Loriot server Q8: Forget the WiFi password A8: Please contact with support@risinghf.com to get help. Q9: Can I use WiFi for networking backhaul A9: No. WiFi is just for configuration and debugging at the moment.
  • Page 47 RisingHF RHF2S208 User Manual Revision V1.1 2018 -10-9 +update WiFi accessing password +add APN configuration description +update web-based utility V1.0 2018 -07-28 + Initial creation V1.1 2018-10-9 www.risinghf.com...
  • Page 48 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by RisingHF for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
  • Page 49 FCC Requirement changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause...

Table of Contents