# SX1302 Using Semtech packet forwarder can not register the gateway

**URL:** <https://www.thethingsnetwork.org/forum/t/sx1302-using-semtech-packet-forwarder-can-not-register-the-gateway/41211>\
**Category:** How to get started\
**Created:** [November 9, 2020, 2:10pm UTC](https://www.thethingsnetwork.org/forum/t/sx1302-using-semtech-packet-forwarder-can-not-register-the-gateway/41211 "2020-11-09T14:10:33Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![TonySmith](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tonysmith/32/46334_2.png) [@TonySmith](https://www.thethingsnetwork.org/forum/u/TonySmith)\
**Post date:** [November 9, 2020, 6:42pm UTC](https://www.thethingsnetwork.org/forum/t/sx1302-using-semtech-packet-forwarder-can-not-register-the-gateway/41211/9 "2020-11-09T18:42:17Z")

</div>

I had a similar problem and tracked to the extra data element “temp” sent in the Stat Interval datagram.  
The SX1302 packet forwarder measures temperature to calculate RF parameters and also forwards this temperature.

From your log  
JSON up: {“stat”:{“time”:“2020-11-09 15:40:51 GMT”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0, **“temp”:0.0** }}

Another point. Since the temperature is Zero, i am assuming you don’t have a temperature sensor on the board. When you recompile the program I would set the temperature to say 20C.

I would also recommend you download the SX1302 UDP packet forwarder from the gateway manufacturer’s web site. If it is RAK, I know they have addressed the temperature issue.

> [@Experiece and Solutions with the SX1302 Packet Forwarder](https://www.thethingsnetwork.org/forum/t/experiece-and-solutions-with-the-sx1302-packet-forwarder/37975):
>
> Hi, Thought I would share some experiences with the Semtech SX1302 Packet Forwarder To get it working with a RAK gateway I had to 1 - Change the Reset pin number from Pin23 to Pin 17 in the file reset\_lgw.sh 2 - removed the use of the “Power Enable” pin in the same file as the gateway has no enable pin I found the Stat Interval datagram in JSON format includes and extra data element “temp”. This is not included in the Stat Interval datagram for existing gateways which use the original…

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/sx1302-using-semtech-packet-forwarder-can-not-register-the-gateway/41211)._
