search for: sendreport

Displaying 4 results from an estimated 4 matches for "sendreport".

2024 May 16
1
Supporting a DIY UPS with minimal effort butmaximum gain
...ill recognize? Some googling led me to the HIDPowerDevice project. https://github.com/abratchik/HIDPowerDevice. That is a library for Arduino MCUs that does all the protocol for getting an Arduino device to be recognized as a HID compliant UPS device over USB. You use it by periodically calling a `sendReport` function with various flags set. Ex: PowerDevice.sendReport(HID_PD_REMAININGCAPACITY, &iRemaining, sizeof(iRemaining)); PowerDevice.sendReport(HID_PD_PRESENTSTATUS, &iPresentStatus, sizeof(iPresentStatus)); `iPresentStatus` is a bit field with a ton of info in it, like: PRESENTSTATUS_ACPR...
2024 May 17
1
Supporting a DIY UPS with minimal effort butmaximum gain
...googling led me to the HIDPowerDevice project. > https://github.com/abratchik/HIDPowerDevice. That is a library for > Arduino MCUs that does all the protocol for getting an Arduino device to be > recognized as a HID compliant UPS device over USB. You use it by > periodically calling a `sendReport` function with various flags set. Ex: > PowerDevice.sendReport(HID_PD_REMAININGCAPACITY, &iRemaining, > sizeof(iRemaining)); > PowerDevice.sendReport(HID_PD_PRESENTSTATUS, &iPresentStatus, > sizeof(iPresentStatus)); > > `iPresentStatus` is a bit field with a ton of info in...
2024 May 16
2
Supporting a DIY UPS with minimal effort butmaximum gain
On 5/16/24 08:59, Jim Klimov via Nut-upsuser wrote: > I agree with earlier posters, such documentation can help future > tinkerers. There is probably more than just one to hold the hand and > walk through the ordeals :) > > Perhaps a new page at https://github.com/networkupstools/nut/wiki > <https://github.com/networkupstools/nut/wiki> can be a good location... >
2011 Jan 12
14
Problems with DC Universe Online
Has anyone had any luck running DC Universe Online on wine? I'm having problems booting the station launcher: Distro: Ubuntu 10.04 Wine: Latest Stable from repo Stack output Code: C:\program files\steam\steamapps\common\dc universe online>Registration.url File not found Install script executed.err:ole:RevokeDragDrop invalid hwnd (nil) err:ole:RevokeDragDrop invalid hwnd 0x7011a