'Python canopen identify nodes

In the documentation I found a simple example how to scan the network for nodes, resulting in node_id values:

network.scanner.search()
# We may need to wait a short while here to allow all nodes to respond
time.sleep(0.05)
for node_id in network.scanner.nodes:
    print("Found node %d!" % node_id)

Is it possible to get further identification (like device name) for each found node, without having an eds file available? When I try to add something like this into the for-loop I'm stuck with error "KeyError: '0x1008 was not found in Object Dictionary' ":

network.add_node(node_id)
time.sleep(0.1)
print(network[node_id].sdo[0x1008].raw)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source