What do you mean by slow? I download firmware updates (image.bin) to the ME in about 30-50 seconds, that is 850K. I agree that is slow, but not as slow as the serial port.
Are you using the Dev Kit or Integration Kit? (In other words, did you write the communications stuff youself?)
the service I use is TCP server which is service 5.
otherwise the device waits till it has a decent size packet, or long time elaspes. I have more info on this subject. Be aware that network traffic will increase substantially.
My DigiCOnnectME run the latest standard firmware - updateded it the other day…
I use standard raw TCP/IP with no handshaking with the serial port setup for 230kbaud connected to an embedded micro controller with no handshake signaling.
I use a ModbusTCP protocol so it is packet based with between 20-30 bytes per transaction. When I run a serial cable between the micro serial port and a PC using the same ModbusTCP protocol…it runs consistantly at a deterministic rate much higher that the eratic behaviour observed when communicating using the raw TCP/IP mode.
Looking at the specs for the ModbusTCP protocol, I don’t see how you can implement it without modifying the code in the ME. Since the ModbusTCP works by embedding extra codes in the TCP protocol, it would need to have specific support. If you are somehow kludging it in there externally (prebuilding the packets?), that may not be an issue, but you are still limited by the speed of the micro.
Are you using SLIP or PPP to get into the Digi? Otherwise I don’t see how you are connecting to it on the serial side.
Are you using a NetOS pre-built service? That may be your whole problem. They access the internal flash inside the algorythms which is very slow (sometimes > 5 sec). I gave up on the pre-built servers in the ME years ago. It is easy enough to write any one that you need. I have no delays at all with the servers that I am running simultaneously:
>Try from Telnet :
>set service range=5 nodelay=on
>
>the service I use is TCP server which is service 5.
>
>otherwise the device waits till it has a decent size >packet, or long time elaspes. I have more info on this >subject. Be aware that network traffic will increase >substantially.
>
>glen
Dear Glen,
The solution you provided, solved my problem for the standard pre-build DigiConnectMe. However this setting can only be alterd through Telnet. There is no parameter of this kind exposed in the HTML interface.