Skip to content

Conversation

@mrv96
Copy link

@mrv96 mrv96 commented Feb 9, 2020

No description provided.

@nuno-silva
Copy link
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
Copy link
Author

mrv96 commented May 3, 2023

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