arduino / arduino/ArduinoCore-mbed

Ethernet.setRetransmissionTimeout, Ethernet.setRetransmissionCount

Open
#555 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Both of these functions are defined in the Ethernet.h header, but the actual code is nowhere to be found, and I get a linker error

`
Ethernet.setRetransmissionTimeout(150);

Ethernet.setRetransmissionCount(1);
`

`
Z:\User\RS\EnviroWatch/EthernetInterface.ino:126: undefined reference to arduino::EthernetClass::setRetransmissionTimeout(unsigned short)
Z:\User\RS\EnviroWatch/EthernetInterface.ino:127: undefined reference to arduino::EthernetClass::setRetransmissionCount(unsigned char)
`

Is this an oversight or by design?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the declarations in Ethernet.h and trace the EthernetClass implementation for setRetransmissionTimeout and setRetransmissionCount. Use the calls at lines 126-127 of EthernetInterface.ino to reproduce the linker error; done means both calls link successfully with the expected Ethernet behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.