def METHOD_NAME(sim, rule_manager, devaddr=None, extra_config={}, role=None):
    extra_config["unique-peer"] = True  # XXX: change for core server
    node = net_sim_core.SimulSCHCNode(sim, extra_config, role)
    node.protocol.set_rulemanager(rule_manager)
    if devaddr is None:
        devaddr = node.id
    node.layer2.set_devaddr(devaddr)
    return node