Peripheral.getType