Hmm, the browser console dev might have more info already, but error handling (showing proper things back to the user) is on the todo list yeah.

In any case, you have:
TICALCS_ERR_NOT_READY = 257, TICALCS_ERR_BUSY = 269.
TICABLES_ERR_READ_ERROR = 3, TICABLES_ERR_READ_TIMEOUT = 4, TICABLES_ERR_WRITE_ERROR = 5, TICABLES_ERR_WRITE_TIMEOUT = 6.

Generally when those happen... something went rather wrong. disconnect the cable, reload the page, and reconnect the cable.

But also do tell me what led to this happening 🙂
Adriweb wrote:
Hmm, the browser console dev might have more info already, but error handling (showing proper things back to the user) is on the todo list yeah.

In any case, you have:
TICALCS_ERR_NOT_READY = 257, TICALCS_ERR_BUSY = 269.
TICABLES_ERR_READ_ERROR = 3, TICABLES_ERR_READ_TIMEOUT = 4, TICABLES_ERR_WRITE_ERROR = 5, TICABLES_ERR_WRITE_TIMEOUT = 6.

Generally when those happen... something went rather wrong. disconnect the cable, reload the page, and reconnect the cable.

But also do tell me what led to this happening 🙂

Thank you so much! I don't know what led to it happening, though.
WebTILP: New features and fixes!:

You should see a little red dot on the Settings button - you can click there to refresh the app cache for offline use

  • WebTILP:
    • add support for CE bundle files 🙂
      It automatically selects the appropriate apps (Python vs PyAdaptr), lang apps (only takes the ones that are already present or the one corresponding to the current lang), etc.
    • build with a zlib-enabled libarchive.
    • show a better device name when available.
    • improve operation progress tracking.
    • improve error display (log + toast).
    • escapeHTML on parts that are inserted via innerHTML.
    • ignore error when the user doesn't select a WebUSB device.
    • fix json_append_escaped for some values.

  • tilibs (in the process of being reviewed/adjusted/merged upstream):
    • libticonv: use better names in ticonv_model_to_string.
    • libtifiles: handle more types in tifiles_file_get_class.
    • libticalcs: refactor common parts about dusb_ca_type_set_bytes.


CE Bundle transfer modal:


Special handling of calculators with bad/missing certificate values: (model being detected correctly anyway)


Error toast:


Still on the TODO list:
  • Exit exam mode" button (similar to what TI's software does)
  • Fix transfer error on some equation files (works on TI Connect CE, but TI Connect CE for ChromeOS also errors when trying to send it!?)
  • Fix some transfer errors sometimes with disjoint (cross-folders) set of files, on the Nspire
  • Human-readable Language ID parsing
  • Interface localization... maybe


Fun part: here is the prompt that added Bundle support on first try:
Quote:
We want to add support for transferring CE "bundle" files. Those are .b83 / .b84 files (zip archives in reality, containing calculator files to be transferred), only targetting the TI-84 Plus CE family and TI-83 Premium CE family of calculators.

When a user wants to transfer such a bundle file onto their CE calculator, a special flow will have to be triggered in WebTILP:

1) Internally, get the list of files inside that zip archive (you can use the libarchive library that tilibs comes linked with, you'll just have to make sure to make the appropriate functions available to the JS via webtilp.cpp) and make sure to note the order of the files in this archive as it will be important afterwards. you can ignore the files called "METADATA" and "_CHECKSUM" inside.

2) Extract in some temporary location (maybe in a "tmp_bundle" directory inside the/a temp folder of the FS module provided by emscripten, probably) the files from the bundle (ignoring "METADATA" and "_CHECKSUM")

3) Display to the user the usual variable transfer modal, prefilled with the list of files from the bundle, in the order you determined in step 1. The difference is that the modal will have to have checkbox for each row of the list of files, because the user may want to skip some files to be transferred (by default, for which are checked and unchecked, see step 4). (The order is important, and the transfer will have to be made in this order too, with the exception of the OS files (.8eu and .8pu) that will have to be the very last transfer to be done, if the user has them picked/checked)

4) Here are the default file checking rules: starting from everything checked:
- if the CE calculator's device info has its "Python on board" property to "Yes", then leave "Python.8ek" checked (if present), and uncheck "PyAdaptr.8ek" (if present).
- if the CE calculator's device info has its "Python on board" property to "No" (or if it is not there), then uncheck "Python.8ek" (if present), and leave "PyAdaptr.8ek" checked if the connected calculator is the TI-83 Premium CE.
- for the language app files (Portuguese.8ek, French.8ek, Nederlands.8ek, Svenska.8ek, Espanol.8ek, Deutsch.8ek), uncheck all of them except for the ones present already in the device (check the dirlist if available), or the one matching the language of the calculator based on the first number value of the device info's "Language ID" property (for instance, the property value may be "9 1", the language ID will be 9). here is the lang mapping: 9=English, 22=Portuguese, 12=French, 19=Nederlands, 29=Svenska, 10=Espanol, 7=Deutsch.

5) If the user confirms, then do the transfers of the checked files, in the order of the list (except for OS files, that come last if picked)

6) Regardless, don't forget to clean up the temporary files/folders.
I don't mean to by whiny, but can you add custom CSS support? It would be awesome to be able to make WebTILP Frutiger Aero. Mr Green
Edit: If it wasn't clear, a way to upload your own CSS stylesheet and store it in the cookies so it doesn't disappear on refresh.
WebTILP: New features and fixes!:
You should see a little red dot on the Settings button - you can click there to refresh the app cache for offline use

WebTILP:
  • "Leave Exam Mode" button (similar to what TI's software does): supported on both CE/82AEP and TI-Nspire models.
    The Nspire will take a few seconds and then reset, that's normal - it might show an error in the page as it's resetting, but don't worry about it
  • Misc. code cleaning
  • Various stability improvements



Still on the TODO list:
  • Fix transfer error on some equation files (works on TI Connect CE, but TI Connect CE for ChromeOS also errors when trying to send it!?)
  • Fix some transfer errors sometimes with disjoint (cross-folders) set of files, on the Nspire
  • Human-readable Language ID parsing
  • Interface localization... maybe
WebTILP: New features and fixes!:
You should see a little red dot on the Settings button - you can click there to refresh the app cache for offline use

WebTILP:
  • Internationalization (i18n): WebTILP is now available in 13 languages! : English, Français, Nederlands, Italiano, Deutsch, Español, Português, Svenska, 简体中文, 日本語, العربية, فارسی, Latina (yes Latin, why not?)
    If you're a native speaker of one of those, please help/contribute fixing whatever doesn't sound right, as this was obviously machine translation. Thanks!
  • Transfers: option to overwrite all instead of asking for each one.
  • Device info: parse language device info property
  • Various error-handling and stability improvements


Still on the TODO list:
  • Fix transfer error on some equation files (works on TI Connect CE, but TI Connect CE for ChromeOS also errors when trying to send it!?)
  • Fix some transfer errors sometimes with disjoint (cross-folders) set of files, on the Nspire
  • Windows-specific error detection and tutorial for Zadig etc.
Regarding Nspire CX II (in)compatibility in WebTILP on Windows:

For context, the tilibs (underlying set of libraries used by TILP and WebTILP) use USB configuration 2 to be able to talk to Nspire CX II calculators. That's because TI changed communication protocols on the Nspire CX II, to use the new variant of NavNet, which runs on usb configuration 1 (and 1 is the default almost every device out there uses). But TI did expose the old NavNet, on configuration 2, for compatibility reasons, most notably for calc-to-calc transfers with older Nspires, AFAIK.

On the desktop TILP, it's libusb that's used, not WinUSB (which is what Chrome uses for its WebUSB implementation). And libusb can do runtime setConfiguration just fine, to use #2 so that CX II will work fine. On WinUSB, you just can't do that, so I can't really do anything about it:

https://chromium.googlesource.com/chromium/src/+/HEAD/services/device/usb/usb_device_handle_win.cc#254
// Setting device configuration is not supported on Windows.

Thank Microsoft 🤡

Quote:
WinUSB will not let you set device configuration

https://stackoverflow.com/a/44295412/378298

The real fix is to have the new Nspire protocol (which we dubbed "NNSE") be implemented in tilibs. But that's a big lift, so not going to happen quickly...
In the meantime, for file transfers and screenshots, try N-Link or the official NspireConnect.
WebTILP: New features and fixes!:
You should see a little red dot on the Settings button - you can click there to refresh the app cache for offline use

WebTILP:
  • Transfers: improve group transfers (per-entry table row), show entry sizes.
  • Don't cancel the whole transfer set if one overwrite is declined
  • Disable debug logging in the browser console for faster overall speed
  • Various error-handling (better display in the UI) and stability improvements


tilibs:
  • Fix transfer error on some equation files on the 84+/CE series


Still on the TODO list:
  • Fix some transfer errors sometimes with disjoint (cross-folders) set of files, on the Nspire
  • Windows-specific error detection and tutorial for Zadig etc.
Just discovered this, and I must say this is pretty sexy, absolutely love the user interface. If only TiLP2 looked like this, that would be amazing!

Nice work on this, I definitely plan on using this from now on. (Goodbye TI Connect CE...)
Does TI-Connect CE have any real advantages over WebTILP anymore? It seems like all of the features TI-Connect CE had over it have quick been added. The only exception is probably TI-Basic programming, but TILP has never wanted that, and you could use tools like SourceCoder or tiplanet's project builder to do the same (although the PB doesn't support things like -> and !=).This is going really well!
That's correct, the program edition and build functionality is handled by SC and/or PB. Technically, an integration of libti* could be added to them, although the license part would have to be worked out.
PB already has this.

  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement