def METHOD_NAME(cls, ctrl_connection: Connection, device_identifier):
    ret = usrp.open(device_identifier)
    if device_identifier:
        ctrl_connection.send("OPEN ({}):{}".format(device_identifier, ret))
    else:
        ctrl_connection.send("OPEN:" + str(ret))
    success = ret == 0
    if success:
        device_repr = usrp.get_device_representation()
        ctrl_connection.send(device_repr)
    else:
        ctrl_connection.send(usrp.get_last_error())
    return success