You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code from github does not compile with the following error:
[Error] Virt_Chan.cpp@15,60: too few arguments to function 'uint32_t W5500_read_UDP_pckt(W5500_chip*, uint8_t, unsigned char*, uint32_t)'
[ERROR] .\source\Virt_Chan.cpp: In function 'int RTP_gateway(W5500_chip*)':
.\source\Virt_Chan.cpp:15:60: error: too few arguments to function 'uint32_t
If you don't receive a response from Ed, you might consider posting your question at https://groups.io/g/New-Packet-Radio/ where other NPR firmware developers might be.
Hi all,
The code from github does not compile with the following error:
[Error] Virt_Chan.cpp@15,60: too few arguments to function 'uint32_t W5500_read_UDP_pckt(W5500_chip*, uint8_t, unsigned char*, uint32_t)'
[ERROR] .\source\Virt_Chan.cpp: In function 'int RTP_gateway(W5500_chip*)':
.\source\Virt_Chan.cpp:15:60: error: too few arguments to function 'uint32_t
W5500_read_UDP_pckt(W5500_chip*, uint8_t, unsigned char*, uint32_t)'
size_UDP = W5500_read_UDP_pckt(W5500, RTP_SOCKET, RX_data);
It seems that the function call ( from Virt_Chan.cpp ) to WS5500 ( W5500.cpp) needs an extra parameter, named len of type uint32.
This needs to be ( in Virt_Chan.cpp ):
size_UDP = W5500_read_UDP_pckt(W5500, RTP_SOCKET, RX_data, RX_size); //RX_size is add.
Am i correct?
Evert Verduin
The text was updated successfully, but these errors were encountered: