I am currently developing a HID device that supports BLE and USB.
I have tested the firmware update function via both BLE and USB (USB CDC ACM).
However, I am experiencing the following issues:
BLE connection
The firmware update service is available to anyone.
When using smpmgr, it seems the only way to update is by specifying the advertised name when not connected to a PC.
The firmware should only be updated from a PC with a secure connection. Are there any tools or methods that can achieve this?
USB connection
It is defined as a USB composite device. The problem is that the virtual COM port is visible to users even when the firmware update is not being used.
Is there a way to hide this?
If possible, I would like to use existing tools,
but if I have to develop something myself (or if I can get better results that way), I will do so.
Any advice would be appreciated.