Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Fix QNEthernet TCP interface #35

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

ssilverman
Copy link
Contributor

@ssilverman ssilverman commented Dec 17, 2021

It now compiles. Also remove unnecessary yield() calls.

It now compiles. Also remove unnecessary yield() calls.
@khoih-prog khoih-prog self-requested a review December 18, 2021 01:52
@khoih-prog khoih-prog merged commit a1adf85 into khoih-prog:master Dec 18, 2021
@khoih-prog
Copy link
Owner

Thanks for your PR.

I didn't spend time to retest your library recently, which has been upgraded a lot, and am not aware of the compiler-error issue.

Thanks a lots for you PR, which is tested and running great now.

A new release will be published soon and your contribution will be noted.

Best Regards,

@ssilverman ssilverman deleted the fix-qnethernet branch December 18, 2021 02:04
@ssilverman
Copy link
Contributor Author

The reason those yield() calls can be deleted is because all those functions now internally call Ethernet::loop(). The compiler error was because EthernetServer only has a “port” constructor and must be recreated when listening on a new port. I might explore adding a begin(port) call…

khoih-prog added a commit that referenced this pull request Dec 18, 2021
### Release v1.9.1

1. Fix compile error for `Teensy 4.1` using new [QNEthernet library version](https://github.com/ssilverman/QNEthernet). Check [Fix QNEthernet TCP interface #35](#35)
2. Update `Packages' Patches`
3. Verify working with new Arduino IDE `v1.8.18`
4. Update `library.json` and `platform.ini` newly published [QNEthernet library](https://github.com/ssilverman/QNEthernet)
khoih-prog added a commit that referenced this pull request Dec 18, 2021
### Release v1.9.1

1. Fix compile error for `Teensy 4.1` using new [QNEthernet library version](https://github.com/ssilverman/QNEthernet). Check [Fix QNEthernet TCP interface #35](#35)
2. Update `Packages' Patches`
3. Verify working with new Arduino IDE `v1.8.18`
4. Update `library.json` and `platform.ini` newly published [QNEthernet library](https://github.com/ssilverman/QNEthernet)
khoih-prog added a commit that referenced this pull request Dec 18, 2021
### Release v1.9.1

1. Fix compile error for `Teensy 4.1` using new [QNEthernet library version](https://github.com/ssilverman/QNEthernet). Check [Fix QNEthernet TCP interface #35](#35)
2. Update `Packages' Patches`
3. Verify working with new Arduino IDE `v1.8.18`
4. Update `library.json` and `platform.ini` newly published [QNEthernet library](https://github.com/ssilverman/QNEthernet)
@khoih-prog
Copy link
Owner

khoih-prog commented Dec 18, 2021

Hi Shawn,

Just published the new WebSockets2_Generic releases v1.9.1 with a note about your contribution in Contributions and Thanks.

Hoping to get more PRs from you.

Best Regards,


Release v1.9.1

  1. Fix compile error for Teensy 4.1 using new QNEthernet library version. Check Fix QNEthernet TCP interface #35
  2. Update Packages' Patches
  3. Verify working with new Arduino IDE v1.8.18
  4. Update library.json and platform.ini for newly published QNEthernet library

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants