Similar to USB B type connector, USB mini B sockets are used on USB peripheral devices, but in a smaller form factor. The mini B plug by default has 5 pins, including an extra ID pin to support USB On-The-Go (OTG), which allows mobile devices and other peripherals to act as a USB host.