- openTest now validates that "localhost" resolves to "127.0.0.1".
- sendTEXTTest now sets and clears text. Note that since there is no way to externally verify the result of a TEXT command, the user must now step through this test using the debugger to fully verify functionality.
- requestDREFTest renamed to getDREFTest.
- getDREFTest now gets one dataref of each type except multidimensional arrays.
- sendDREFTest now sets one dataref of each type except mulidimensional arrays.
- sendDREFTest now attempts to set a read-only dataref. Need to work out how to test the result of this effectively.
- psendCTRLTest & sendCTRLTest now test multiple values, default values and sending only some parameters.
- Added psendPOSITest.
- psendPOSITest & sendPOSIest now test multiple values, default values and sending only some parameters.
- sendWYPTTest now clears waypoints before setting them.
- These tests create a great deal of duplicated work.
- The only errors caught by these tests would be errors that occur in the C client only when compiled by a C++ compiler.
- This error case is deemed unlikely enough that it is not worth the extra work to maintain two sets of tests.
Fix Bug- readUDP loop in getDREF Response only ran once no matter what.
This wasn’t enough time for the plugin to send a response.
Note: You can try increasing the timeout, but the plugin has to have a
socket with a timeout of 1ms or less. If the timeout is higher than
that a lag is introduced.
- Removed dependency on C client.
- The plugin now responds to client requests on the same port used to establish the connection.
Removed C client dependency from plugin.
- Fixed a buffer overflow in sendCTRL.
- Fixed incorrect inderection in readUDP.
- Removed unused usleep function.
- Removed redundant include of WS2tcpip.h
- Fixed widespread error where sendUDP's return value was not being checked correctly.
- Updated signature of openUDP to place optional parameters at the end
- Fixed bug in CTRL command where the buffer length was not correctly set.
- Fixed setCONN to correctlly reset the client's socket.
- Removed parseCTRL and readCTRL.
- Tweaked variable type, order and naming.
- Improved validation and error reporting.
- Updated Interface Control Document to reflect adition of aircraft number to CTRL command.
- Removed readPOSI and parsePOSI functions. These were only used by the plugin, which no longer uses them.
- Tweaked types, argument order, and names to improve concision and consistency with other functions.
- Improved validation and error reporting.