Comments (5)
I think I have got it working. By enable --timestamp in inputBase.py
mmProc.addArgument("--timestamp")
and in pocsagDecoder.py extract the timestamp and add the timestamp to the packet. The the packet has the timestamp when it was received. Before it was None and the server added timestamp when it was received.
from bw3-core.
I am not sure what this flag should change here.
The decoder creates a bwPacket and here the timestamp is generated.
Line 32 in bd9228f
And after sending, the string representation of this packet is feeded to the constructer of the bwPacket and should be read from the packet.
Line 35 in bd9228f
The real problem is, that the clients atm don't read the mm-stream if there is no connection.
So this means, decoding is paused if connection got lost.
from bw3-core.
In my case the client didnt send timestamp before and the server created it because it was None. If the server was down and when the que arrived all alarm got time from server, not from client. With my new code i get a timestamp from client when it was received and
pocsag-files.zip
not when server created timestamp.
Hard to explain but for me it works now. My code is very bad but it works,
from bw3-core.
it is not NONE or shouldn't be :-D
but the client will receive the packets from a MM-buffer at the moment, the client is reconnected and set the timestamp at this moment. That's a architecture problem in my opinion.
from bw3-core.
from bw3-core.
Related Issues (20)
- Call wrong function
- [WIEDER ONLINE] Website und Dokumentation offline? HOT 14
- Installation bricht ab HOT 2
- BosWatch stürzt ab - Syntax error server.yaml HOT 6
- InputSources: Ausfall startet Multimon nicht neu
- Probleme mit DoubleFilter HOT 1
- Dokumentation Offline HOT 7
- Plugin not found (telegram) HOT 8
- Komische Ausgaben HOT 6
- Modul: CSV Descriptor HOT 2
- IndexError: list index out of range in sdr input routine (pocsagDecoder) HOT 6
- Install Fehler auf Debian GNU/Linux 12 (bookworm) aarch64 HOT 2
- Weiterleitung zu Bosmon HOT 7
- Documentation seems to be offline HOT 6
- Module double filter und regex filter werden nicht geladen, Abbruch Server Start HOT 4
- Regex Filter HOT 7
- Doku down & keine Verifikation BWCC möglich HOT 3
- mysql plugin Plugin not found HOT 4
- Error beim Client Start HOT 3
- Doc shows 404
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 bw3-core.