The data is not same every time. It can vary. Even the user can change the data saved in the device too. If he changes the saved values, than the altered values should get save in the device.
Moreover, i am not just concerned about the LEDs but the every piece of information that is been send to the device.
In the current scenario, the reports are not getting saved in my device if i remove it. Than how can i resend the reports on attachment ? How can i save the data in the non volatile memory of the device? Can you please throw some more light on it?
If i once Write the data to the device using HidD_SetFeature() method, doesn't it get saved on the device for future use, even if the device is been removed?
I also want to perform the Read operations when the device is been connected to the system automatically to display the values in the application which are saved previously in the device. How can i do the same?