# Single Channel Packet Forwarder part 1 \[Deprecated\]

**URL:** <https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798>\
**Category:** \[obsolete\] SCPF\
**Created:** [December 8, 2015, 9:26am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798 "2015-12-08T09:26:16Z")\
**Posts on this page:** 20\
**Page:** 10

<div class="post-metadata">

**Author:** ![JohnPetran](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/j/f17d59/32.png) [@JohnPetran](https://www.thethingsnetwork.org/forum/u/JohnPetran)\
**Post date:** [July 7, 2016, 12:09pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/200 "2016-07-07T12:09:51Z")

</div>

Thanks jbraam for the Lua code.  
The node cannot receive messages. But it can send.  
Has anyone tried the Lua code and had success on sending commands to node?  
Have a nice day!

---

<div class="post-metadata">

**Author:** ![ursm](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/ursm/32/46475_2.png) [@ursm](https://www.thethingsnetwork.org/forum/u/ursm)\
**Post date:** [July 7, 2016, 1:00pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/201 "2016-07-07T13:00:00Z")

</div>

who sells the nice breadboard for the RN2483?

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 7, 2016, 3:14pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/202 "2016-07-07T15:14:21Z")

</div>

I tried several boards… [this one](https://www.tindie.com/products/DrAzzy/rn2483-breakout-bare-board/) is the winner 🕶

---

<div class="post-metadata">

**Author:** ![old\_jbraam](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/o/ebca7d/32.png) [@old\_jbraam](https://www.thethingsnetwork.org/forum/u/old_jbraam)\
**Post date:** [July 7, 2016, 6:05pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/203 "2016-07-07T18:05:42Z")

</div>

I created a bug in the transition from floating point NodeMCU firmware to the integer only version. Fixed now on github. I receive messages on my node again.

---

<div class="post-metadata">

**Author:** ![old\_jbraam](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/o/ebca7d/32.png) [@old\_jbraam](https://www.thethingsnetwork.org/forum/u/old_jbraam)\
**Post date:** [July 8, 2016, 1:50am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/204 "2016-07-08T01:50:53Z")

</div>

My LUA Single Channel Gateway works quite reliable now.

I test it using an Arduino + RFM95w node running LMIC software.

Logging from the node:

`Starting Packet queued 220: EV_JOINING 773994: EV_JOINED 844184: EV_TXCOMPLETE (includes waiting for RX windows) Data Received: Hi! Packet queued 2164428: EV_TXCOMPLETE (includes waiting for RX windows) Data Received: Hi! Packet queued 3843184: EV_TXCOMPLETE (includes waiting for RX windows) Packet queued 5163401: EV_TXCOMPLETE (includes waiting for RX windows) Data Received: Hi! Packet queued 6483653: EV_TXCOMPLETE (includes waiting for RX windows) Data Received: Hi!`

---

<div class="post-metadata">

**Author:** ![5776b3ede7caf50f006f](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/5/779978/32.png) [@5776b3ede7caf50f006f](https://www.thethingsnetwork.org/forum/u/5776b3ede7caf50f006f)\
**Post date:** [July 8, 2016, 4:15am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/205 "2016-07-08T04:15:57Z")

</div>

i cannot wait to test it!!!

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 8, 2016, 5:43am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/206 "2016-07-08T05:43:28Z")

</div>

Very nice to see downlinks working on a single channel gateway. Especially great for OTAA, I think. Not to spoil the fun: beware that TTN might some day limit the number of downlinks you can send [to only 10 per day, per node](https://www.thethingsnetwork.org/forum/t/limitations-data-rate-packet-size-30-seconds-day-fair-access-policy-nodes-per-gateway/1300) (and that includes confirmed uplinks).

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 9, 2016, 7:18am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/207 "2016-07-09T07:18:28Z")

</div>

2 posts were merged into an existing topic: [Limitations: data rate, packet size, 30 seconds/day Fair Access Policy, nodes per gateway](https://www.thethingsnetwork.org/t/limitations-data-rate-packet-size-30-seconds-day-fair-access-policy-nodes-per-gateway/1300)

---

<div class="post-metadata">

**Author:** ![kayakpete](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kayakpete/32/46523_2.png) [@kayakpete](https://www.thethingsnetwork.org/forum/u/kayakpete)\
**Post date:** [July 8, 2016, 7:04pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/209 "2016-07-08T19:04:03Z")

</div>

If anyone has functional single channel gateway code for North America, I’d sure appreciate it. I’ve had no luck yet -

[https://www.thethingsnetwork.org/forum/t/arduino-uno-dragino-shield-v1-3-code/2647/12](https://www.thethingsnetwork.org/forum/t/arduino-uno-dragino-shield-v1-3-code/2647/12)

---

<div class="post-metadata">

**Author:** ![abpel](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@abpel](https://www.thethingsnetwork.org/forum/u/abpel)\
**Post date:** [July 10, 2016, 3:45pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/210 "2016-07-10T15:45:08Z")

</div>

After adding the geolocation of the gateway to my main.cpp, I do see the gateway here now:  
[http://ttnmapper.org/gateways/map.php?gwaddr=b827ebffff558b26](http://ttnmapper.org/gateways/map.php?gwaddr=b827ebffff558b26)  
So the gateway did send out my geolocation.

However, cannot see anything here yet from my node.  
[https://www.thethingsnetwork.org/api/v0/nodes/6185FF1D/](https://www.thethingsnetwork.org/api/v0/nodes/6185FF1D/)

So I must be doing something very silly wrong because the rest seems to be working. Any ideas?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 11, 2016, 5:20am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/211 "2016-07-11T05:20:56Z")

</div>

> [@abpel](#):
>
> cannot see anything here yet from my node.[https://www.thethingsnetwork.org/api/v0/nodes/6185FF1D/](https://www.thethingsnetwork.org/api/v0/nodes/6185FF1D/)

If you’re using the staging environment (good), and are NOT using the default demo keys `2B7E151628AED2A6ABF7158809CF4F3C ` (also good), then you won’t see the packets in the old REST API. On staging, you’ll need to [use MQTT instead](https://www.thethingsnetwork.org/forum/t/new-backend-how-to-connect/1983/19).

---

<div class="post-metadata">

**Author:** ![r-tuijtel](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/r-tuijtel/32/35959_2.png) [@r-tuijtel](https://www.thethingsnetwork.org/forum/u/r-tuijtel)\
**Post date:** [July 11, 2016, 7:55pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/212 "2016-07-11T19:55:07Z")

</div>

Hi Charles,

I build and test your board. It’s working fine but i have one minor issue… The LED’s doesn’t work. I have to figure out what’s the problem.  
Recently you released V1.1. What’s the difference? Any plans to add OLED support? That would be great.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 11, 2016, 8:04pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/213 "2016-07-11T20:04:27Z")

</div>

me to yesterday 🕶  
_at the moment working on oled_

![](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/2/276fba44065572b88f4568150d30c9fd302d6b7f.jpg)

---

<div class="post-metadata">

**Author:** ![r-tuijtel](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/r-tuijtel/32/35959_2.png) [@r-tuijtel](https://www.thethingsnetwork.org/forum/u/r-tuijtel)\
**Post date:** [July 11, 2016, 8:47pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/214 "2016-07-11T20:47:20Z")

</div>

His little brother … 😋

![](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/3/327a5ac24541637f181d48ce09f8395c76792403.jpeg)

---

<div class="post-metadata">

**Author:** ![Charles](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/charles/32/45146_2.png) [@Charles](https://www.thethingsnetwork.org/forum/u/Charles)\
**Post date:** [July 11, 2016, 9:20pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/215 "2016-07-11T21:20:57Z")

</div>

@PH3V  
hey nice picture,  
I’ve got some firmware with OLED support (on my RF69 gateway) that funny scroll between informative screen using this [awesome library](https://github.com/squix78/esp8266-oled-ssd1306)

If you are in a hurry check the OLED library demo [here](http://blog.squix.org/2016/06/new-weather-station-demo-on-github.html) it very simple to implement and we added SH1106 support for 1.3" Oled

I will implement it first on my Wemos RN2483 node so you’ll have example but I’m sorry I have no release date for this (I’m working on 4 different firmware at the same time, quite complicated)

For LED you could check pin 1 of 1st led to see if it has 5V or 4.6V if you put D1 and cut trace. By the way, to light the LED you must use [NeopixelBus](https://github.com/Makuna/NeoPixelBus) library because it’s not “classic” LED but protocol driven LED.

On Version 1.1 I added footprint for Microchip 24AA02E64 64 bits serial number and restricted ground plane to avoid shorts sometimes on connectors pins, sorry just forgot to update the documentation.

I’ll try to do my best to release a working firmware with LED and OLED and try almost to post a video to show you all funky things we can do with 😀

---

<div class="post-metadata">

**Author:** ![Charles](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/charles/32/45146_2.png) [@Charles](https://www.thethingsnetwork.org/forum/u/Charles)\
**Post date:** [July 12, 2016, 6:26pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/216 "2016-07-12T18:26:33Z")

</div>

@PH3V

Waiting release for firmware node, I’ve published a sample sketch I use to test my boards, it’s simple and show you the OLED Use with RGB LED, OTA and I2C scan with ESP8266 (WeMos here)

Here the video sample with all features in action!

Sketch has it own [repo](https://github.com/hallard/Scan-I2C-WiFi)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 12, 2016, 6:32pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/217 "2016-07-12T18:32:07Z")

</div>

briiliant 🕶

---

<div class="post-metadata">

**Author:** ![TijnOnlijn](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tijnonlijn/32/27494_2.png) [@TijnOnlijn](https://www.thethingsnetwork.org/forum/u/TijnOnlijn)\
**Post date:** [July 13, 2016, 10:08am UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/218 "2016-07-13T10:08:56Z")

</div>

I did read the topic, and yeah, i also did read that it “can’t replace a real gateway, and is for testing only”. So don’t kick me out please 🙂

Having said that it looks to me that the thing could be very useful to cover uncovered corners in a developing network. I can’t recall where I read it but I think I saw someone who configured it to listen to all channels at the same time. Obviously that introduces collision risks but apart from that it sounds acceptable. Is it really feasible?

If you limit the expectations to a limited number of class a ABP nodes and connect a decent antenna, you’re close to a real gateway. I can imagine the result would be more satisfying when covering a city center with 2 real gateways an 10 single channels instead of 3 real gateways leaving a lot of poorly covered areas.

---

<div class="post-metadata">

**Author:** ![telkamp](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/telkamp/32/35697_2.png) [@telkamp](https://www.thethingsnetwork.org/forum/u/telkamp)\
**Post date:** [July 13, 2016, 12:48pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/219 "2016-07-13T12:48:40Z")

</div>

As I started this topic, the single channel gateway is great for testing, but it’s not fully LoRaWAN compliant. For that reason it’s fine to use it now on the staging server, but I think we should not allow these devices in the (soon to be launched) production environment.

You don’t really provide coverage with them, as they will not be able to properly support generic LoRaWAN devices (which are not aware of the type of gateway in their area) that use multiple frequencies and spreading factors. You would have to fix nodes on a single frequency and SF, which is not a good practice, and hard to get rid of later.

If we want to build a reliable and scalable Things Network we need to make sure all devices (nodes and gateways) fully support the LoRaWAN standard. Besides that, gateways are not that expensive. Let’s do it right from the start.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [July 13, 2016, 4:49pm UTC](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798/220 "2016-07-13T16:49:39Z")

</div>

![](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/c/cd269d421d9f91192dc795098f2607a12058cb3f.jpg)

this is something my single channel gateway, listening on 868.100 picked up this afternoon 😄

Packet RSSI: -112 RSSI: -113 SNR: -12 Length: 61  
rxpk update: {“rxpk”:[{“tmst”:445526776,“chan”:0,“rfch”:0,“freq”:868.099975,“stat”:1,“modu”:“LORA”,“datr”:“SF7BW125”,“codr”:“4/5”,“lsnr”:-12,“rssi”:-112,“size”:61,“data”:“tlJ+3kao1MjU3ol8kuTwhziot4L/wQGMXngnecZaq5dXGpqZFTHWkzg/Hea7Y4NEjZND1gARpWtPdwC1vQ==”}]}

I don’t understand that freq":868.099975 is it that my receiver is off freq 25 Hz ?

[Previous page](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798.md?page=9)

[Next page](https://www.thethingsnetwork.org/forum/t/single-channel-packet-forwarder-part-1-deprecated/798.md?page=11)
