lwIP Library with CDC Ethernet for the TI-84+ CE
19 messages
• Page 1 sur 2 • 1, 2
lwIP Library with CDC Ethernet for the TI-84+ CE
Figured this might be a worthy share.
For a while I've been working on a number of network-reliant applications for the TI-84+ CE and been using some hackish implementation of SRLDRVCE with a TCP/SRL bridge running on a computer to facilitate a network.
Recently I finally decided to do things properly, and with some help from commandblockguy implement a fully-functional TCP/IP stack using USBDRVCE, lwIP code, and a self-written CDC-ECM driver.
Source: https://github.com/acagliano/lwip-ce
I've also prepared some screenshots of the current unit tests of this project. The below screenshot was recorded on the veth branch of CEmu using a virtual Ethernet device.
Here is a video recording the screen of an actual TI-84+ CE Python edition.
Once more tests confirm this stable, it will be packaged and released as an application dylib for use with the CE C toolchain so that developers can use the TCP/IP in their projects easily.
For a while I've been working on a number of network-reliant applications for the TI-84+ CE and been using some hackish implementation of SRLDRVCE with a TCP/SRL bridge running on a computer to facilitate a network.
Recently I finally decided to do things properly, and with some help from commandblockguy implement a fully-functional TCP/IP stack using USBDRVCE, lwIP code, and a self-written CDC-ECM driver.
Source: https://github.com/acagliano/lwip-ce
I've also prepared some screenshots of the current unit tests of this project. The below screenshot was recorded on the veth branch of CEmu using a virtual Ethernet device.
Here is a video recording the screen of an actual TI-84+ CE Python edition.
Once more tests confirm this stable, it will be packaged and released as an application dylib for use with the CE C toolchain so that developers can use the TCP/IP in their projects easily.
Dernière édition par acagliano le 15 Avr 2024, 00:03, édité 1 fois.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Congrats! that seems like a whole lot of work and it pays off
It's a good idea to provide it as as toolchain-compatible lib too.
It's a good idea to provide it as as toolchain-compatible lib too.
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)My calculator programs
Mes programmes pour calculatrices
-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14733
- Images: 1119
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Well done! How did you plug you calculator to make it work? Does it require an adapter or something?
Le projet Geometry Dash est terminé ! N'hésitez pas à aller jeter un coup d’œil au topic du projet ! Vous pouvez le télécharger ici.
Unis par la flèche sacrée de cupidon
Unis par la flèche sacrée de cupidon
-
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 1160
- Images: 4
- Inscription: 08 Déc 2014, 17:38
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: Ensimag
- GitHub: MathisLav
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Epharius a écrit:Well done! How did you plug you calculator to make it work? Does it require an adapter or something?
Yes. A USB-mini to USB-A OTG adapter and then a USB-A to Ethernet adapter. From there just plug into a router or switch and you’re golden.
Edit: This library supports CDC-ECM. There is no support for EEM or NCM (yet?). So if your Ethernet adapter is not an ECM device, it will NOT work with this.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
We have a functioning demo, it would appear.
Moving on to a private beta with a number of interested persons. Just poke me here, on Cemetech DM, or Discord (acagliano) if you want to join the beta test.
You will need:
1. Your calculator (TI-84+ CE)
2. A USB-miniB to USB-A OTG adapter
3. A USB-A to Ethernet device with an ECM configuration (NCM/EEM devices not currently supported)
4. An Ethernet cable plugged into a router or switch.
You will also need the USBDRVCE library on your calculator.
EDIT: You may get updates for the project or join the beta test by going to https://discord.gg/3hBR9QwJyC. When prompted for what you want to do, select "Help Test Things" and you'll be given tester role which will allow you to see lwIP's beta testing channel.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Addendum
If you are like some others I've talked to who feel like plugging their calc into their router is an inconvenience, I have good news for you. I have purchased and tested this device: https://a.co/d/igLQRQl. You need to use WPS to connect the adapter to your router, at which point, connect your USB-mini -> USB-A -> Ethernet rig to this adapter via an Ethernet cable and you can connect your calc to your network wirelessly. I imagine any similar device will also work as long as it supports Ethernet to WiFi and WPS as well as onboard encryption.
If you are like some others I've talked to who feel like plugging their calc into their router is an inconvenience, I have good news for you. I have purchased and tested this device: https://a.co/d/igLQRQl. You need to use WPS to connect the adapter to your router, at which point, connect your USB-mini -> USB-A -> Ethernet rig to this adapter via an Ethernet cable and you can connect your calc to your network wirelessly. I imagine any similar device will also work as long as it supports Ethernet to WiFi and WPS as well as onboard encryption.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Nice! Did it require to change something to your lib to add WPS support? Or does the Wi-Fi device handle it by itself?
Le projet Geometry Dash est terminé ! N'hésitez pas à aller jeter un coup d’œil au topic du projet ! Vous pouvez le télécharger ici.
Unis par la flèche sacrée de cupidon
Unis par la flèche sacrée de cupidon
-
EphariusPremium
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 1160
- Images: 4
- Inscription: 08 Déc 2014, 17:38
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Classe: Ensimag
- GitHub: MathisLav
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Epharius a écrit:Nice! Did it require to change something to your lib to add WPS support? Or does the Wi-Fi device handle it by itself?
It's handled by the device. No library modifications needed. There probably is a way to interface with the device FROM the calc to select a network but it's not required (though we may add a driver for that if we can find a standard for it). You just follow the steps for WPS connection, and then just use lwIP as normal.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Just an update.
The lwIP private beta will be taking place tomorrow at 7:30 PM US Eastern.
Event Link: https://discord.gg/hQr654Dw?event=1214766328921980928
It will be streamed live on my YouTube channel. https://www.youtube.com/channel/UCyEcVV ... 9V7EfdW3HQ
Probably won't be a super long test. If anyone wants to participate directly, they can join the server linked above and indicate they'd like to help with testing. Bear in mind the hardware you need to make this work.
Update: Stream/Video link. https://youtube.com/live/fD2n7CzFeZU?feature=share
The lwIP private beta will be taking place tomorrow at 7:30 PM US Eastern.
Event Link: https://discord.gg/hQr654Dw?event=1214766328921980928
It will be streamed live on my YouTube channel. https://www.youtube.com/channel/UCyEcVV ... 9V7EfdW3HQ
Probably won't be a super long test. If anyone wants to participate directly, they can join the server linked above and indicate they'd like to help with testing. Bear in mind the hardware you need to make this work.
Update: Stream/Video link. https://youtube.com/live/fD2n7CzFeZU?feature=share
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
Re: lwIP Library with CDC-ECM for the TI-84+ CE
Update
The beta test was live a few nights ago and no client-side issues were identified.
Project will be awaiting distribution as a library and move into public beta soon.
The beta test was live a few nights ago and no client-side issues were identified.
Project will be awaiting distribution as a library and move into public beta soon.
-
acagliano
Niveau 3: MH (Membre Habitué)- Messages: 13
- Inscription: 14 Fév 2024, 19:45
- Genre:
- Calculatrice(s):→ MyCalcs profile
- GitHub: acagliano
19 messages
• Page 1 sur 2 • 1, 2
Retourner vers Langages alternatifs
Qui est en ligne
Utilisateurs parcourant ce forum: ClaudeBot [spider] et 4 invités