Please recall that in a previous chapter in today's lesson you created your driver's write request. In that chapter, you coded up a method named toByteArray on your write request. We asked you to assume that any information that you needed to construct the byte array, without even specifying any information about any particular data values, was available on your write parameters structure. Obviously, however, you also needed to specify information about the particular data value to update. In our hypothetical example, the point id already contained a property called offset that we added during the lesson for day 2. In our hypothetical example, that was all we needed from the point id. However, this will not necessarily be the case for all drivers.
If you required more information in order to create the byte array that you returned from the toByteArray method of your request, then please add frozen properties for that information to the BYourDriverPointId component that you created on day 2.
While following the examples in this chapter, please replace the text jarFileName, yourDriver and yourCompany as previously described in the Preparation section):
Please follow this easy procedure:
Copyright © 2000-2014 Tridium Inc. All rights reserved.