With an older EMDK and an MC17 the following code causes the Cradle LED to flash off and on:
Symbol.Notification.LED myLED = new LED(Symbol.Notification.Device.AvailableDevices[3]);
int intCycles = 8;
myLED.CycleCount = intCycles;
myLED.State = NotifyState.CYCLE;
With the beta v2.8 EMDK and an MC18 the same code does not work. Selecting device 0 (the "Green Decode LED" on the MC18) works perfectly fine, but the "Cradle LED" does not respond at all. No errors are thrown. Nothing. I tried to set the state to NotifyState.ON in case it was an issue with cycling, but that did not help. The cradle LED works fine during a Cradle.Unlock function call; so I doubt it is an issue with the cradle itself.
Has anyone else been able to successfully change the Cradle LED state through Symbol.Notification?
2 Replies
Can you use the attached test application (MC18_Test) to see how your device responds? Please see if the button “AvailableDevices” in the attached MC18_Test application is able to provide you with the following:
Device0 = Green Decode LEDDevice1 = BeeperDevice2 = Unused LED Device3 = Cradle LED
Then use the corresponding ON, OFF buttons in the MC18_Test application to verify the respective switch notification of the objects/devices:
Device0, Green Decode LEDDevice1, BeeperDevice2, Unused LED (should not see any effect)Device3, Cradle LED
Please post results so we can help further.
Bill,
Could you please confirm the Terminal OS version (OEM version from System Info applet) and the Cradle firmware version (info tab of the cradle utility).
Thanks,
Rajeev.