[Oberon] FPGA - nRF24L01 `RPI Net' server

Tomas Kral thomas.kral at email.cz
Wed May 23 19:46:11 CEST 2018


Hi,

EDIT

I have recoded Net.ReceiveHead() slightly.
  ...
  (*IF ~head1.valid & (Oberon.Time() >= time) THEN head1.typ := 0FFH
  END*)
  UNTIL head1.valid OR (Oberon.Time() >= time) (*head1.typ = 0FFH*) 
  END ReceiveHead;

Once the loop falls through on timeout, it keeps `0FFH' in buffer,
making it return immediately before `time' lapses in all subsequent
calls. Also `0FFH' destination address reserved for broadcast messages,
correct?

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


More information about the Oberon mailing list