Many USB events not implemented

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by peplin on Tue Feb 19 09:27:32 MST 2013
I've been working to add USB VBUS detection and I was digging more into the documentation of nxpUSBlib. There are all sorts of useful events described in USB/Core/Events.h, e.g. EVENT_USB_Device_Disconnect(), but searching through the code it doesn't look like very many of these are ever actually called.

I can't find anything in the docs that says these are unimplemented, so am I missing something? I'm able to detect VBUS manually and control USB_DeviceState manually, but is this planned to be built-in to the library at some point? I would contribute a patch, but my past experience says there's no chance of it getting merged into the next official release.