detect
Detect which DFU protocol the peripheral supports.
Checks discovered services against known DFU service UUIDs in priority order: Nordic DFU, MCUboot SMP, ESP OTA.
Return
detected DfuProtocolType, or null if no DFU service is found
Parameters
peripheral
a connected peripheral with discovered services