User's Manual

WaveFlexPicocellGatewayRadio‐UserManual‐Version1.2
www.Wave‐Flex.com ©Copyright2019WaveFlex,Inc.–AllRightsReserved Page9of17

6. PacketForwarderApplicationProgramforRPi3PicocellGatewayHost
TheLoRa®PacketForwarderisanapplicationprogramthatrunsontheRPi3Picocell
GatewayHost.ThisprogramforwardsRFpacketsreceivedbytheWPGRfromtheEnd‐
Node‐DevicestotheLoRa®ServerthroughanIP/UDPLink.ThePacketForwarderalso
forwardsdatathatissentbytheLoRa®ServertotheEnd‐Node‐DevicesontheNetwork
viatheWPGR.
6.1 CompileSemtechHALandPacketForwarderontheRPi3
$cd~/lora‐net/picoGW_hal
$makecleanall
$cd~/lora‐net/picoGW_packet_forwarder
$makecleanal
6.2 RunUSBCommunicationsStressTestbetweenRPi3HostandWPGR
RunningthistestwilltesttheUSBtoSerialcommunicationslinkbetweentheRPi3
HostandtheWPGR.Thistestshouldruncontinuouslyanddumpdatatothe
TerminalontheRPi3untilitisstopped.
$cd~/lora‐net/picoGW_hal/util_com_stress
$./util_com_stress‐t4‐d/dev/ttyACM0
PressCtrl+CandthenEnterKeytoExittheTest.
6.3 GettheuniqueGatewayIDfromtheWPGR
RunthecommandsbelowtoaccesstheGatewayIDfromtheWPGR.Thisvalue
shouldbeusedinthe“global_conf.json”fileasthe“GatewayID”.
$cd~/lora‐net/picoGW_hal/util_chip_id
$./util_chip_id‐d/dev/ttyACM0 (Note:mayneedtouse“ttyACM1”)
