Data are visible at the gateway but not in the application

Hello,

i have TTN Gateway “MikroTik LoRaWAN wAP LoRa8 kit” on my roof at a height of ~25 meters
with MikroTik LoRaWAN - Omni Antenne 824-960 MHz .

As clients there are 1. channel beehive monitoring devices in my garden.
It sends on 868 Mhz SF 7 Bandwith 125 Mhz, i thins its something about 32 bits every 5 minutes.

i have tried to decrypt the Payload:
FRMPayload = 0116D7AFEB3584518DB39AEEFB5462E471936F693B (from packet, encrypted)
= 0808104410F10000FFAE000000000B00038537D92D (decrypted)

It works fine since 09.07.2023 until 01.10.2023. Then the data in the Application have stopped.

I see the data on the MikroTik Gateway.

And i see the data on the ttn gateway overview.

But there are no Data in the Application.

What am I missing, what am I doing wrong?

Hmmm, Not LoRaWAN compatible. Why not use all 8 channels?

What is the last fcnt value for the device listed in the application?

It’s an community beelogger.de project with
RFM95-868MHz LORA SX1276 Chip
i think this is the limiting factor.

i checkt it its using min 3 Channels.

The data are visible on the Gateway site on TTN but they are not forwarded to the TTN Application.

f_cnt number on the gateway TTN Site “event details” is 1046. You can see it on the screenshot in my first post.

I cant find the fcnt number on the ttn application site “The Things Network Console

Where i can see it?

It is the number next to the arrow pointing up on the device overview page.

Sorry, i dont see it. Where?

Maybe here?

if the left arrow is the fcnt number then its 16382
so it dosent match with 1100

so can set it right, on the page?

I think i know what happens.
The sender has an Problem when the fcount reachs 16382,
the sender switch to 0 or 1 and starts to count from the beginning.

So i think the is something to be fixed in the code.

>   payload[cnt_pld] = ((uint16_t)0xFF00 & PayloadHeader) >> 8;
>   cnt_pld++;
>   payload[cnt_pld] = ((uint16_t)0x00FF & PayloadHeader);
>   cnt_pld++;

But the question now is how i can reset the fcount on the website, so its work for the next 16382 times.
Until the real problem is solved.

you are looking at a mac message

image

under the node general settings there is a network layer and then mac settings

image

I may have found a solution:

But i cant finde this option:
grafik

can you please help?

I am a little confused, are the fcount and MAC the same term fo the same number?
I thought this was an ascending package number, sequence number, number of sent uplinks.

MAC normaly (Media Access Control) but in this case the “MAC state” is completely different
ist a little bit confusing.

Ok i have reset the “MAC state” must the fcnt start by 0 or 1?

You may find you are substantially more productive with these issues by looking at:

https://www.thethingsindustries.com/docs/

which has an explicit entry for ‘reset f_cnt’ when entered in the search which leads to a section called troubleshooting as ABP f_cnt issues are sufficiently common that forum search yields dozens of hits

and

https://www.thethingsnetwork.org/docs/lorawan/

for general principles, an evenings read well spent.

Please be aware that everyone answering here are volunteers, so best to keep your questions for when the docs aren’t providing any answers.