Sha256: cf7d884ba29687fb6b32a7a710222a7742e1e54b61f284470546bf24777b10b8

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

# Net Finder

NetFinder, uses UDP broadcast to locate and configure GPIB-ETH controllers on a network.
You can find an implementation of the protocol in the nfcli utility
http://prologix.biz/downloads/nfcli.tar.gz

### Discovery

- Create NF_IDENTIFY packet.
- Set sequence to a random value
- Set eth_addr to all ones
- Broadcast NF_IDENTIFY datagram to port 3040/UDP.
- Listen for NF_IDENTIFY_REPLY datagrams.
- Verify sequence matches NF_IDENTIFY packet

### Configuration

- Create NF_ASSIGNMENT packet
- Set sequence to a random value
- Set eth_addr to MAC address of desired device Set ip_type to NF_IP_DYNAMIC or NF_IP_STATIC If ip_type is NF_IP_DYNAMIC specify ip, mask and gateway addresses.
- Broadcast NF\* ASSIGNMENT datagram to port 3040/UDP.
- Listen for NF_ASSIGNMENT_REPLY datagrams.
- Verify sequence matches that of NF_ASSIGNMENT packet Check result field for NF_SUCCESS

Notes:

1. You may get multiple replies. Discard duplicate replies.
2. All multi-byte values are in network order (big-endian)
3. On multi-homed hosts, make sure broadcasts go out over all interfaces.
4. NetFinder protocol only works within the same subnet as routers will not forward UDP broadcast packets.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
prologix_gpib-0.5.3 NetFinder_info.md
prologix_gpib-0.5.2 NetFinder_info.md