|
From: Conzelmann, D. <Dir...@ca...> - 2012-08-15 13:54:46
|
Hello irda-community,
I am performing connection reliability tests between
an ubuntu linux host and an embedded linux system.
Using irprintfx on the embedded system and irscanfx
on the host system works without problems.
But when I try to continously send data using different
delays between the messages, the irda stack seems
to get in a state where it is temporary unable to send
or queue data.
With a delay of 1s everything works fine.
Test setup:
server (embedded-system)
irattach /dev/ttyS2 -s
irprintfx
[waiting...]
client (ubuntu-system)
irattach /dev/ttyS0 -d tekram -s
for interval in 1 5 15 45; do
i=0
while [ $i -lt 20 ]; do
echo -e "test 123" | irscanfx
sleep $interval
let "i+=i"
done
done;
Using a delay of 5s I am able to send one or two
messages, then I get one or two times an error on the
client side "connect: Network is unreachable", and so on.
The question is: what causes the irda stack to be so
faulty on some connection delays?
---------------------------------------------------------------------------
+++ Willkommen bei CADCON auf der ILA Berlin Air Show +++
11.-16.09.2012, ExpoCenter Airport, Halle 2, Stand 2204
---------------------------------------------------------------------------
CADCON
Ingenieurgesellschaft mbH & Co. KG
Geschaeftsfuehrer: Robert Bauer, Andreas Gundel
Sitz der Gesellschaft: 86368 Gersthofen
Registergericht: Amtsgericht Augsburg HRA 14521
|