dmitryelj / RPi-P2000Receiver

P2000 paging autonomous receiver with LCD and browser access
15 stars 7 forks source link

Delay in message post #9

Open tomswinkels opened 5 years ago

tomswinkels commented 5 years ago

There is an delay of 12 seconds before sending a post.

Is this a bug?

dmitryelj commented 5 years ago

Not a bug because there can be several messages in a queue with the same body, but to different recipients. The delay can be adjusted btw.

tomswinkels commented 5 years ago

But 12 seconds for default are very high, is there not another way to map messages with the same body? Maybe look to PDW?

dmitryelj commented 5 years ago

True, maybe 3-4s will be enough. You can try to adjust "post_delay_s" parameter to any value you want.

tomswinkels commented 5 years ago

Yes.

I don't no how exactly P2000 decode works, but the same messages to differences addresses (capcodes) are sending a message for each address?

Maybe the decoder get a frame or some other stuff to check it is a group message or it is the last message in a group?

dmitryelj commented 5 years ago

p2000.py is a wrapper around multimon-ng.

There was an issue posted, please check: https://github.com/EliasOenal/multimon-ng/issues/123

tomswinkels commented 5 years ago

Yeah i know. But i was thinking what is the best place that make the group message.

dmitryelj commented 5 years ago

If it will be implemented officially in multimon-ng, I can use it, and there will be no need for a delay in a python application more. For now, settings 3-4s delay in a script is the easiest workaround.