Skip to content

PR for apply https://github.com/njh/EtherCard/issues/384 possible fix - #385

Open
mrv96 wants to merge 1 commit into
njh:mainfrom
mrv96:master
Open

PR for apply https://github.com/njh/EtherCard/issues/384 possible fix#385
mrv96 wants to merge 1 commit into
njh:mainfrom
mrv96:master

Conversation

@mrv96

@mrv96 mrv96 commented Feb 9, 2020

Copy link
Copy Markdown

No description provided.

@nuno-silva

Copy link
Copy Markdown
Contributor

Looks good, but I would also update the JeeUdp example sketch here

ether.sendUdp ((char*) collBuf, collPos, 23456, destIp, config.port);
to get rid of the invalid conversion warning: https://travis-ci.com/github/njh/EtherCard/jobs/367604836#L665-L672

udpClientSendOnly.ino is also affected, as it uses char*:

char textToSend[] = "test 123";
void loop () {
if (millis() > timer) {
timer = millis() + 5000;
//static void sendUdp (char *data,uint8_t len,uint16_t sport, uint8_t *dip, uint16_t dport);
ether.sendUdp(textToSend, sizeof(textToSend), srcPort, ether.hisip, dstPort );

@mrv96

mrv96 commented May 3, 2023

Copy link
Copy Markdown
Author

Squashed commits and updated examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants