[Oberon] FPGA - nRF24L01 `RPI Net' server

Tomas Kral thomas.kral at email.cz
Fri May 25 14:22:27 CEST 2018


Hi,

`NRF' now generally works between Oberon and RPI. RPI to
Oberon transfers twice as fast to the opposite direction.

I thought, perhaps in one direction packets are retransmitted, but
has proved I sent each packet once in both directions.

Could it be on account of different file subsystems speeds among
platforms, then?

This is an exercise I used, showing packet retries when ACK is missed,
each packet forced to send twice.

Net.ReceiveData()
VAR ...
  cnt: INTEGER
BEGIN
  ... cnt := 0;
  IF (head1.typ = seqno) & ODD(cnt) THEN
  ...
  ELSE
  END; INC(cnt); 
  ...
END ReceiveData;

valid header 
65 15 92 238
 Test.Mod sending
16 0 92 238 512
17 0 92 238 512
17 0 92 238 128
18 0 92 238 128
 640

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list