Bug 93 - Build 905: RSU should Upgrade the Reader with the ending $langset and $UOM=255
Summary: Build 905: RSU should Upgrade the Reader with the ending $langset and $UOM=255
Status: VERIFIED INVALID
Alias: None
Product: TestProduct
Classification: Unclassified
Component: TestComponent (show other bugs)
Version: unspecified
Hardware: PC All
: Highest major
Assignee: No one
URL:
Depends on:
Blocks:
 
Reported: 2018-11-14 22:06 EST by Kuanshen An
Modified: 2018-11-29 00:04 EST (History)
1 user (show)

See Also:


Attachments
Logs files. (3.36 KB, application/x-zip-compressed)
2018-11-14 22:06 EST, Kuanshen An
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kuanshen An 2018-11-14 22:06:34 EST
Created attachment 58 [details]
Logs files.

1. Configure Reader as following 
firmware version : 2.1.2
StartLanguage": 10,13,11,
StartMarket: "1,0,1,0",1.

2. Launch RSU #154 on Mac, connect the Reader, follow step to start upgrade.
3. Disconnect Reader in the middle for RSU upgrading the Reader.
4. Change  Reader languages set to ‘ending langset’ ($langset,10,13,11,6)
5. Close RSU, Open RSU.
6. Reconnect Reader to RSU 

actual result:
RSU shows it is an incompatible Reader.

Expected result:
RSU continue to upgrade Reader to 2.4.8
Comment 1 Brian Roberge 2018-11-14 23:29:15 EST
Your test case is close but not quite right.  The purpose of accepting the final language set (10,13,11,6 in this case) is to handle the case where we update the firmware (to 2.4.8) write part of the configuration including the new language set and then the update fails before we can complete writing all the configuration. We catch that case because even though the firmware has been updated the UOM is still 255 and the brandname contains our encoded info.  We change the UOM back to it's original value only when we are completely done with the update.  It is not going to be possible for you to interrupt the update between writing the new language set and update completing because it takes less than a second.

The best way to simulate/reproduce it is to take a reader that has already been upgraded to 2.4.8 and set the brandname to the encoded value ($brandname,2.1.2*0) and the uom to invalid ($uom,255) and the language set to the new value ($langset,10,13,11,6).  Then start the RSU and plug in the reader.  It should recognize that configuration was not complete, send it down and set the UOM back to the original value (0 in this case) as well as the brand name to "FreeStyleLibre".
Comment 2 Kuanshen An 2018-11-29 00:04:02 EST
got it.