Hi,
My product uses the nrf52840 chip with NCS 2.7 and has a USB mass storage function.
I would like to implement a feature as below
1. When the USB is connected to the charger, it will directly display "Charging".
2. When the USB is connected to the PC, it will display the "Charging only" and "Mass Storage" option, if user select "Charging only" then the same as item 1,if select "Mass Storage" then connect to the PC as a mass storage device.
How to handle the USB part when connect to the charger or the PC? (Base on the example zephyr\samples\subsys\usb\mass).