Comments (11)
The base64_data
(AZh8ABI0VniHZUMheyJzdGF0Ijp7InRpbWUiOiIyMDExLTAxLTAxVDA2OjA0OjI1WiIsInJ4bmIiOjE2LCJyeG9rIjoxMiwicnhmdyI6MTIsImFja3IiOjMyLCJkd25iIjowLCJ0eG5iIjowfX0=
) decodes to:
{
"stat": {
"time": "2011-01-01T06:04:25Z",
"rxnb": 16,
"rxok": 12,
"rxfw": 12,
"ackr": 32,
"dwnb": 0,
"txnb": 0
}
}
However, the time
key has a different formatting than is documented in https://github.com/Lora-net/packet_forwarder/blob/master/PROTOCOL.TXT#L231. As well, it seems a little bit in the past 😉
Could you let me know which version of the packet_forwarder you're using?
from chirpstack-gateway-bridge.
- Bridge version=2.1.0 i download from your guide
- my lora gateway using
- microchip gateway with sx1301..
- https://github.com/JaapBraam/LoRaWanGateway esp with inair9b
from chirpstack-gateway-bridge.
To me it seems that the time format sent by the
https://github.com/JaapBraam/LoRaWanGateway project has an incompatibility
with the packet_forwarder protocol.
On Sun, Aug 21, 2016, 10:45 kamodachi [email protected] wrote:
- Bridge version=2.1.0 i download from your guide
- my lora gateway using
- microchip gateway with sx1301..
- https://github.com/JaapBraam/LoRaWanGateway esp with inair9b
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#13 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGeVUyq9ODPMriJbLYB8uz0ljDAVlNks5qiBAVgaJpZM4JosZF
.
from chirpstack-gateway-bridge.
Forgive me if I'm stating the obvious, but I "worked around" the above for another gateway by changing the "Time" inside the "type Stat struct" in gateway/structs.go (i.e. line 396) from "ExpandedTime" to "CompactTime".
from chirpstack-gateway-bridge.
Yes, but I think if you would use the "official" packet_forwarder now (https://github.com/Lora-net/packet_forwarder), it wouldn't be able to parse that timestamp. I think it is better to open a ticket here https://github.com/JaapBraam/LoRaWanGateway and ask them to change their timestamp format according to the PROTOCOL.TXT.
from chirpstack-gateway-bridge.
For reference:
JaapBraam/LoRaWanGateway@01bf651 fixed this issue
from chirpstack-gateway-bridge.
Hello, brocaar!
I've got the same problem with Microchip LoRa Gateway!
Does it mean, that the problem is in gateway firmware and I need update it, or, maybe, there is a several legal time formats of "stat":"time" variable? I tried to form this packet by hand using Wireshark and UDP-Tools, I just replaced '..T...Z' string to '.... GMT' format, and it correctly passes parsing....
Now I think about rebuilding the server for my format, because I'm not able to reprogramm the LoRa gateway, cuz I do not have any firmware binaries or sources for this PCB...
from chirpstack-gateway-bridge.
@alexanderplanar Did you fix this problem? I recently installed the gateway_bridge with the Microchip gateway and I am seeing this error. I am not sure if I can just ignore it?
from chirpstack-gateway-bridge.
sslupsky, bad news, not yet, I had to put aside my work with LoRa for some time due to the other work.
But I guess this could not be fixed until either the firmware of Microchip gateway will be upgraded or the gateway bridge source code will be fixed. The last one is not recommended because, as far I understand, it corresponds to the standard, and fixing it could cause other problems with other gateways. So, I'm still ignoring this error, because I do not have the fixed firmware for Microchip gateway.
The last way I see it is to retranslate messages from Microchip gateway to the gateway_bridge software using a UDP-proxy application. I do not know is these application already written by someone, but I'm sure it is not so complicated to create your own UDP-proxy using e.g. GCC and some kind of notepad-editor. The only few bytes needs to be fixed in the message before retranslating it to the software.
from chirpstack-gateway-bridge.
@alexanderplanar @sslupsky please see #28.
from chirpstack-gateway-bridge.
@alexanderplanar @brocaar It is unfortunate that Microchip has not supplied a fix to this problem. It has been around for a while and likely a trivial fix that would be fixed by now if Microchip open sourced their gateway firmware. Has anyone asked them to do so? @brocaar , a request from you would likely get their attention.
from chirpstack-gateway-bridge.
Related Issues (20)
- Gateway bridge will suddenly not authenticate with Google Core IOT.
- Gateway Bridge does randomly not reconnect HOT 1
- Wrong FSK frequency for AS923 in basicstation
- No reconnect if the initial connection fails because certificate has expired (v3.13.3) HOT 8
- Make "MQTT Client ID as a gateway ID source" optional HOT 1
- [Build] missing go.sum entries HOT 2
- Gateway Bridge not starting after reboot under Multitech v6.0.0 HOT 2
- Gateway bridge on Kerlink iStation only forwards a few messages after bootin, then stops publishing to MQTT HOT 2
- Issue with docker compose GW building HOT 1
- Apply filtering with concentratord backend
- Long interleaving CodeRate is not support on semtechudp downlink. HOT 1
- windows_amd64.tag.gz
- ConfigMap integration.mqtt.auth.generic.servers value is not used HOT 6
- 3.14.3 Gets into a mqtt reconnection loop HOT 8
- MutualTLS error="not Authorized"
- Basic Station backend: FineTimeSinceGpsEpoch missing from uplink event? HOT 2
- Add bcning field in router_config response
- Integration ThingsBoard doesn't work
- Chirpstack v4.6.0 missing uplink info latest gw bridge tag HOT 7
- ChirpStack Gateway Bridge binds to udp6 only HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chirpstack-gateway-bridge.