diff --git a/Release b/Release new file mode 100644 index 0000000..886d3e7 --- /dev/null +++ b/Release @@ -0,0 +1,24 @@ +This is R1-0-9. +R1-0 --> R1-0-1: We add a counter for number of successful (re)connection; + We add a function to read this number as well; + We clear error when we successfully (re)connect; + We rename MBT_LinkStat to MBT_GetLinkStat. +R1-0-1 --> R1-0-2: Redefine error code to 16-8-8, so high 16 bits reserved for high level driver; + Defined coresponding error message; + Implemented a function to translate errcode to errString; + Delete all errcode definition in drvModBusTCPClnt.h +R1-0-2 --> R1-0-3: Make socket non-block in read/writeWithTimeout, not so necessary +R1-0-3 --> R1-0-4: Modify the MBT_MAX_PDU_SIZE to match spec, and add definition of max bits/words for particular function +R1-0-4 --> R1-0-5: Include netinet/in.h or winsock2.h to cover sockaddr_in to make (drv)ModBusTCPClnt.h independent +R1-0-5 --> R1-0-6: If read/write returns 0 after select, we will think it is an error. +R1-0-6 --> R1-0-7: Add error code definition to drvModBusTCPClnt.h + Improve MBT_Disconnect, it only really acts when link is OK + Add NofPackets to report 32 bits number of sent packets + Turn debug flag to off by default +R1-0-7 --> R1-0-8: Improve README file, improve dbior report function and include stdio.h, fix transaction ID matching bug +R1-0-8 --> R1-0-9: Add iocsh register, fix typo of IPAdrr, add extern "C" declaration, build for both OSI and vxWorks +R1-0-9 --> R1-1-0: Add comment to emphasize semaphore to protect internal ping-pong read and write functions + Fix bug to release semaphore in disconnect function + semDelete before semGive + Force link to avoid U symble +