[Oberon] FPGA - nRF24L01 connection
Tomas Kral
thomas.kral at email.cz
Tue Apr 17 11:12:32 CEST 2018
On Sun, 15 Apr 2018 07:52:05 +0300
Jörg Straube <joerg.straube at iaeth.ch> wrote:
> How do you measure „x% loss“? Currently, all your packets contain a
> constant string. Please enter an increasing number in it and see how
> many numbers you miss.
Currently I just count packets received from a 100 sent.
PROCEDURE Ping100*;
VAR i: INTEGER;
BEGIN plcnt := 0; (* reset payload count *)
FOR i := 1 TO 100 DO Ping END;
Texts.WriteString(W, "Ping:"); Texts.WriteInt(W, plcnt, 6);
Texts.WriteLn(W); Texts.Append(Oberon.Log, W.buf)
END Ping100;
..
..
012345678901234567890123456789x rcv-done
snd-done
012345678901234567890123456789x rcv-done
snd-done
snd-timed
snd-timed
snd-timed
Ping: 26
It seems, I cannot get above 30% with my current setup and RF24
lib.
--
Tomas Kral <thomas.kral at email.cz>
More information about the Oberon
mailing list