Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UCM/Eth
#1
Hi

I upgraded my Eth02 recently to the version on the Cytech website (cytech_nowifi_3_10.bin). All seemed OK but then I\'ve spent a few hours debugging the client code as I was getting disconnections on logout.

It would seem now that on a logout, once the LU00 is received there is also some another empty datbuffer sent. At least the ComfortClient erors with an empty databuffer message and disconnects from the UCM.

Originally I thought it was my code (and it could be I need to code against this), but the previous Eth02 firmware worked OK (think 3.02 was one before?). The Eth01 on my testrig also works fine. I couldn\'t find the previous firmware on the forum to revert back too (and i forgot to save on my PC) so I downloaded the latest version from the Tibbo site, loaded that and tested and that works perfectly too.

So it would seem something strange is going on with the Cytech enhanced one?

Anyone got a copy of the Cytech Eth02 firmware before this latest one so I can test and confirm?

Cytech,any ideas what you\'ve changed in this latest version that could be causing this scenario? One or both of us may need to fix something here in our respective codes as a result. I fear this may be due to an enhancement maybe you\'ve put in place for the iPhone App?

By default I set the UCM with a zero timeout.

Regards

Julian
Reply
#2
Update: I reinstalled the \"cytech_nowifi_3_10.bin\" firmware again on the Eth02 and now all seems OK. Confused! :?

I\'ll monitor it.

Julian
Reply
#3
Julian
A feature of both 3.02 and 3.10 is that when there is a log out, the ethernet also disconnects. This is so that the iphone app and other ethernet applications do not hog  the connection when they are logged out
I am not sure if this is what you mean by the empty databuffer message? Can you elaborate?
The 3.02 applicatioon EM500 firmware is attached


Attached Files
.zip   cytech_application-3_02.zip (Size: 301.11 KB / Downloads: 5)
Reply
#4
3.10 sets the correct default settings on the Tibbo module so that when you initialise, the settings like In band commands, serial settings etc are correct and you do not need to set again


Reply
#5
OK, in the current dev builds of ComfortClient then for Eth02 it will also disconnect on logout if that is the hardcoded functionality in the firmware. It should be noted though that Eth01 and Eth02 operate differently now then as the ETh01 doesnt disconnect.

It would have been nice if this could have taken it\'s setting from the tibbo settings somehow rather than be hard coded.

By empty buffer I mean that on an async read from the TCP port I expect back >0 bytes of data in normal operation. Zero bytes returned is normally an error situation but you also get if the remote host shuts down the connection according to the web. It\'s how to spot which scenario being encountered. For the moment if zero bytes are returned from a read then i\'ll assume the UI needs to represent a disconnected state.

Julian
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)