![]() |
Forum Index : Microcontroller and PC projects : XModem Send Fail.
![]() ![]() |
|||||
Author | Message | ||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6284 |
It can only handle one connection at a time so some refusals might be because its in use. I see all sorts of programs that get loaded and run. Because there is no display fitted, any attempt to set those options can cause grief. I occasionally reload my test program which reads a few environment sensors. I think there have been one or two other who have had problems during the 3 years it has been running. Jim VK7JH MMedit |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Hi Rob, I've got most of mine forwarded to my public IP. Won't post the details on here, but will PM you the DNS & port for my ceiling heater.... Not much heating required here these last few day... Been rather warm Phil. |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Oddity I find here with TT is not the version, but the settings in the INI file. 3 PC's all inconsistent. And also the location. Some have the ini in ProgFiles(86), others have it in the dreaded VirtualStore. Phil. |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
here we go, give this a try: 2017-12-16_233249_test_17_telnet_client.zip this is a very simple telnet client (dumb terminal, no VT100 emulation), just for testing out the code. if you click on 'connect' it will connect to tassyjim's micromite, or you can enter an alternative host and port. note: this is not derived from GFXterm, it is just a few delphi components thrown together. the file "unit1.pas" contains most of the relevant code, do have a look. if/when it works ok, i can transplant the mechanics into GFXterm. cheers, rob :-) |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
That worked flawlessly rob. Nice work. |
||||
Phil23 Guru ![]() Joined: 27/03/2016 Location: AustraliaPosts: 1667 |
Works fine here. Tested it on both my internal IP range 192.168.xxx.xxx to a few devices that are all internally on port 23. Also tried to connect to them by using my public IP & the forwarded ports, to loop out then back into my router & that worked fine too. When you are at the stage to test in with in the main prog, you're welcome to give it a go on the MM+ that has an SD card in it if you want to test an over internet download of one of my logs. Cheers Phil. Edit:- You'd just need to change to 4 in the port# to a 1. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Works for me. ![]() ![]() TT still refuses the connection with timed-out messages. I'm not too worried about that though, as there are alternatives to TT. Smoke makes things work. When the smoke gets out, it stops! |
||||
Azure![]() Guru ![]() Joined: 09/11/2017 Location: AustraliaPosts: 446 |
@Grogster Did you see my post on page 2 re new connection field ordering loses setting? |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Absolutely. ![]() Port 3002 is ignored. I have had issues with TT in the past, so this is not exactly a total surprise to me.... I had the same issue with TT simply refusing to talk to a WizNet 107SR serial-to-Ethernet module, even though all the settings were correct. At the time, Putty talked to it with the same setting just fine, so I get the feeling that TT is a little picky on some aspects of how it works. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
it looks like telnet can be as simple or as complicated as one wishes. i suspect that teraterm is adding in extra complication at some level, and the other end is then failing to handshake on some request. all i've implemented in the above test code is a dumb "Network Virtual Terminal", i don't even generate or process any telnet commands. the enter key is translated to CR+LF, everything else is passed straight through. grogster: could it be that your install of teraterm is trying to negotiate a username/password login? cheers, rob :-) |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Not sure. Is there any way I can check? Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6284 |
Grogster, can try deleting(or renaming) your teraterm.ini file Teraterm should recreate a basic one when you restart it. That should get rid of any strange settings you have. @Rob, yes telnet can be very complicated so I gave up trying to implement any of it. I will revisit it when I really need to. My ser2net is configured as 'raw' Anthing that arrives is sent to the port 'as is' although it seems to handle the telnet style negotiations OK when you log in with telnet terminals and is equally happy if you log in without any of that guff. VK7JH MMedit |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
here is the code spliced into a test version of GFXterm: 2017-12-27_020536_GFXterm_with_experimental_Network_Virtual_Terminal.zip to make a network connection, click on the 'network' button at the top of the CONNECT window. note that this is NOT a telent session, but just a RAW terminal connection with everything passed through unaltered. i've only tested on a couple of sites (jim's and phil's). on jim's i was able to verify that the micromite's editor is fully functional, while phil's was invaluable in giving me a constant stream of incoming data prior to getting keyboard input plumbed in. please test on as many mites-on-the-net as you can and report back on any failures, or features that work with serial but not across the net. the delphi code is a little rough around the edges, but seems to work nonetheless. cheers, rob :-) |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |