Dixprs handle .pkt & .myp packet

58 views
Skip to first unread message

Francis Lee

unread,
Jul 18, 2014, 9:37:18 AM7/18/14
to dix...@googlegroups.com
Dear HA5DI

I would like to ask if an aprs message with ACK (end with {line counter ) sent by .pkt or .myp from external sources, does Dixprs will sent the message again if no ACK received ?

Br
Francis

Bela Markus

unread,
Jul 21, 2014, 4:30:12 AM7/21/14
to dix...@googlegroups.com
Hi Francis

the short answer is no. .pkt and .myp packets sent out only once independently their content.

At the moment you can't import a message to the DIXPRS message sending module. I add this feature to the todo list.

Regards... Béla
--
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „dixprs” csoportjára.
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) dixprs+un...@googlegroups.com címre.
További lehetőségekért látogasson el ide: https://groups.google.com/d/optout.

A(z) üzenetben nem található vírus.
Ellenőrizte: AVG - www.avg.com
Verzió: 2014.0.4716 / Vírus adatbázis: 3986/7873 - Kiadás dátuma: 2014.07.18.


Francis Lee

unread,
Jul 22, 2014, 12:53:05 PM7/22/14
to dix...@googlegroups.com
Dear HA5DI

Thanks your reply.

In fact I meet a problem on the spooling function. I feed some Wx data to Dixprs by .myp file. I write a python program and got the Wx data from local observatory, and feed the data to Dixprs spooling folder when news udpated. 

However, I found sometimes the .myp files was remove ( should be remove after sent), but there are no action shown in the status screen. The status screen should shown when Tx/Rx data.

I sent the data via all interface (*).

I check the Raspberry Pi resources by "top" command, the utilization is low, and seems not related to resources problem.

Any idea for this problem ?

Br
Francis


ha5di於 2014年7月21日星期一UTC+8下午4時30分12秒寫道:

Bela Markus

unread,
Jul 23, 2014, 6:21:30 AM7/23/14
to dix...@googlegroups.com
Hi Francis,

it is race condition, DIXPRS is processing the import file before it is closed by its creator. It happenes randomly, depending on how often new file is added to spool directory.

I will fix it when I get some time.

Regards... Bela, HA5DI



2014.07.22. 18:53 keltezéssel, Francis Lee írta:

Bela Markus

unread,
Aug 4, 2014, 7:40:45 AM8/4/14
to dix...@googlegroups.com, Richie Raisz
Francis,

please find attached a new version of dixprs.py for DIXPRS 2.2.2 It checks the last modification time of import files and imports them only if it is more than 5 seconds old. Hopefully it will sove the problem. Just stop DIXPRS, replace the current dixprs.py with the new one and start it.

Let me know the result.

Regards... Bela, HA5DI
dixprs.zip

Francis Lee

unread,
Sep 13, 2014, 4:06:09 AM9/13/14
to dix...@googlegroups.com
Dear HA5DI

Thanks your help, I will try and reply you soon.

Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Francis Lee

unread,
Oct 10, 2014, 6:33:03 AM10/10/14
to dix...@googlegroups.com, rais...@gmail.com
Hello  HA5DI

I tested the new dixprs.py for almost a month, here is the result.

1/ If my aprs message sent once only, some packet drop still happen.

2/ If my aprs message sent twice (with 1 second interval), all the first time packet was drop, but all the second time packet will be sent out. I identify the first & the second time packet by ack {01 and {02 .

Best Regards
Francis

ha5di於 2014年8月4日星期一UTC+8下午7時40分45秒寫道:

Bela Markus

unread,
Oct 10, 2014, 9:08:16 AM10/10/14
to dix...@googlegroups.com
Francis,

is the situation better than with the old file? Are you copying the file to spool from a different location or creating there?

Regards... Bela, HA5DI
--
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok „dixprs” csoportjára.
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz küldjön egy e-amailt a(z) dixprs+un...@googlegroups.com címre.
További lehetőségekért látogasson el ide: https://groups.google.com/d/optout.

A(z) üzenetben nem található vírus.
Ellenőrizte: AVG - www.avg.com

Verzió: 2014.0.4765 / Vírus adatbázis: 4040/8357 - Kiadás dátuma: 2014.10.09.


Francis Lee

unread,
Oct 10, 2014, 9:36:30 AM10/10/14
to dix...@googlegroups.com, bma...@hasix.org
Hello HA5DI

The .myp file created in the default spool folder /dixprs/spool/  by a python program.

If the aprs message packet sent once only, the result is similar to old one (sometime drop packet).

If sent twice (with 1 second interval), almost all 2nd time aprs message (with ACK: {02) ) sent (just drop 1 time according my result). But I do not know why all the first aprs message (with ACK :01) was dropped.


Br
Francis



Bela Markus於 2014年10月10日星期五UTC+8下午9時08分16秒寫道:

Bela Markus

unread,
Oct 10, 2014, 11:20:32 AM10/10/14
to dix...@googlegroups.com
Francis

what is the time betwwen openiong (creating) and closing the file in spool?

Béla
Message has been deleted

Francis Lee

unread,
Oct 10, 2014, 2:42:24 PM10/10/14
to dix...@googlegroups.com
Hello HA5DI

I add time stamp at the beginning and end of program, the total run time around 1.124 second.



Br
Francis


ha5di於 2014年10月10日星期五UTC+8下午11時20分32秒寫道:
Reply all
Reply to author
Forward
0 new messages