TI-nspire computer Link 1.0 is using port 10001 to transfer tns files to and from the CAS+ documents folder.
But we've just discovered a 2nd shell on port 10002, which seems to be able to access the whole filesystem.
And this time, it's working on all CAS+. here is an example with a CAS+ running OS 1.0.529:
But as you can see, the syntax is strange.
Could someone help us figuring the commands list and their syntax?
From what I can tell looking at the EVT2 OS, I think the fm_xfer command (syntax: fm_xfer(IP address, operation, destination filename, source filename, callback frequency, callback enabled, options)
) initiates a file transfer (connecting to the IP address on port 10001 and requesting or sending a file). Maybe it could be possible to make it connect to the calc's own link handler with something like
fm_xfer(127.0.0.1, pn_fm_fput, "/phx/documents/ndless/phoenix.tns", "/phoenix/install/phoenix.img", 5000, 1, 0)
Or alternatively, maybe it would be possible to run a program on the PC to listen on that port for link commands and have it send the file to that.
The TI-Nspire CAS+ P1-EVT2 has a different boot screen than later Nspire: So it probably has different Boot2 and Diags flashing screens too.
I hope you're making sure there is no diags present before testing the diags reflashing combination, as it immediately erases diags before receiving any data (unlike the boot2 reflashing combination, which doesn't erase until the transfer is completed)