Page 1
RisingHF RHF2S008P4G User Manual UM01719 RHF2S008P4G User Manual V1.2 Document information Info Content Keywords RisingHF, LoRa Gateway, Instruction This document describes how to use RHF2S008P4G, which Abstract includes content about configuration, development and so on.
RHF2S008P4G User Manual 1 Preface RHF2S008P4G is a IoT gateway/concentrator which integrates POE, LTE/4G/3G, GPS and LoRa, designed and manufactured by RisingHF. This document will describes how to use and configure RHF2S008P4G, for end-user and developer usage. Covers: Get started ...
Password: risinghf Connect RHF2S008P4G with DHCP router, log in router or scan IP to get RHF2S008P4G ip. Hostname of RHF2S008P4G is "rhf2s008". After get ip, user could use SSH tool to log the device check or set configuration. For example, use PuTTY under Windows and use ssh command under Linux. SSH port is 22.
Semtech Github source code included https://github.com/Lora-net/lora_gateway.git https://github.com/Lora-net/packet_forwarder.git 2.2.1.5 /home/rxhf/utilities RHF2S008P4G services install package. In case of situations user can’t restore the configuration of a service, related below packages can be used to restore it. aisenz-rhf2s008-install-package aisenz loraflow.io software package loriot-rhf2s008-install-package...
2.3 LoRaWAN Server Solutions According to the different request, user could choose which server to connect to. RHF2S008P4G 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 7
RisingHF RHF2S008P4G User Manual It depends on the server which packet forwarder to support. User need be responsible to choose which protocol to support. *.json files under pkt service working directory are gps_pkt_fwd / lora_pkt_fwd configuration files. Among the json files, global_conf.json and local_conf.json are files which is used by Packet Forwarder, when using it user could use symbol link to point global_conf.json and...
Page 8
RisingHF RHF2S008P4G User Manual /* change with default server address/ports, or overwrite in local_conf.json */ "server_address": "localhost", "serv_port_up": 1680, "serv_port_down": 1680, /* adjust the following parameters for your network */ "keepalive_interval": 10, "stat_interval": 3600, "push_timeout_ms": 100, "autoquit_threshold": 5, /* forward only valid packets */ "forward_crc_valid": true,...
Page 9
RisingHF RHF2S008P4G User Manual Lower Side Channel Upper Side Channel SX125x Bandwidth Bandwidth Bandwidth 250KHz 500KHz 1.05MHz 500KHz 125KHz 1.0125MHz 125KHz 500KHz 1.0125MHz LoRa Module hardware structures: SX125x (0) SX1301 RFSW SX125x (1) 2.3.1.1 Customized channels User could follow below principles to customize different frequency channel.
Page 10
`ls -l /opt/risinghf/pktfwd` /opt/risinghf/pktfwd 3. Physical frequency which is supported by RHF2S008P4G is decided by the hardware. For example RHF2S008P4G-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 12
11) Log in to the gateway and start Loriot service and start test. 2.3.2.2 Start Loriot Service RHF2S008P4G connect to CN1 server by default (not auto start), switch to server manually when you need. Example to switch to AP1 server:...
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 2.3.2.4 Loriot Firmware Upgrade Please download loriot-risinghf-rhf2s008-xxxxxx-SPI-0-latest.bin file, and replace /opt/loriot/bin/loriot-gw sudo su cd /opt/loriot/bin wget URL -O loriot-gw Please get the actual URL from the gateway page.
Page 14
RisingHF RHF2S008P4G User Manual Disable auto start: sudo systemctl disable lorabridge sudo systemctl disable lrgateway Enable auto start: sudo systemctl enable lorabridge sudo systemctl enable lrgateway 2.3.3.1 Configure Gateway Frequency loraflow.io default working directory /home/rxhf/aisenz/pktfwd. cd /home/rxhf/aisenz/pktfwd /home/rxhf/aisenz/pktfwd contains different frequency plans. Among them Loraflow.io SDK reuse Semtech packet forwarder to control gateway, check 2.3.1 Packet Forwarder about the detailed...
RHF2S008P4G User Manual 3 Advanced Usage 3.1 Cellular Network (LTE/4G/3G) RHF2S008P4G device embedded service 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 Feature: ...
RHF2S008P4G integrates a rssh service, with which customer could enable RisingHF to access your RHF2S008P4G device remotely to supply technical support. Note: The service is closed by default, and can only be used by RisingHF to support customer when necessary.
Page 17
-f -n 50 -u rssh Then it shows log like below, include "Allocated port …" message When asking remote support, please send your screenshot to support@risinghf.com, and explain your trouble, RisingHF technical support will help you diagnose. V1.2 2017-04-19...
RisingHF RHF2S008P4G User Manual 4 Build Development Environment This chapter will describe how to compile "Hello World" program and build RHF2S008/RHF2S008P4G development environment. Hello World c program: #include <stdio.h> int main(int argc, char **argv) printf("Hello world!\n"); return 4.1 Compile Natively RHF2S008 gateway embedded GCC tool chains natively.
Page 19
RisingHF RHF2S008P4G User Manual 6. Upload the main file to RHF2S008P4G gateway ./main 7. Run main program. Note: "Native Compile" and "Cross Compile" may have different gcc version, this makes the target bin has different in size, it is normal if you observe the same.
RisingHF RHF2S008P4G User Manual 5 Factory Default Restore 5.1 Download image Contact support@risinghf.com to get image address. 5.2 Bootloader Mode Set RHF2S008 to entern Bootloader mode 1) Cut off RHF2S008 power 2) Connect Micro USB cable let RHF2S008 to connect with PC...
RisingHF RHF2S008P4G User Manual 6 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 23
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.
Need help?
Do you have a question about the RHF2S008P4G and is the answer not in the manual?
Questions and answers