The OTG device with the B-plug inserted is called the B-device and by default assumes the role of peripheral.