Module discovery

Module discovery 

Source
Available on crate feature clients only.
Expand description

APIs for discovering Cat-Dev Bridge’s, and more specifically their MION boards.

There are two main groups of methods for attempting to find MIONs:

  1. discover_bridges, discover_bridges_with_logging_hooks, discover_and_collect_bridges, and discover_and_collect_bridges_with_logging_hooks incase you want to output values as you discover mions (processing them in a stream), or if you want to collect all the values in a single vector at the very end.
  2. find_mion which finds a specific MION board based on one of the identifiers we know how to search for. NOTE: in some cases this can lead to a full scan. See the API information for details.

It should be noted you can only find bridges that are on the same broadcast domain within your local network. In general this means under the same Subnet, and VLAN (unless your repeating broadcast packets across VLANs).

If you are in different VLANs/Subnets and you do have the ability to run a repeater heading in BOTH directions (both are required for all bits of functionality!), you want to broadcast the port crate::mion::proto::DEFAULT_MION_CONTROL_PORT aka 7974. Otherwise things will not work. You may also need to broadcast whatever your configured ATAPI port is (by default this is also 7974, so not a worry.)

Enums§

MionFindBy
A way to search for a single MION board.

Functions§

discover_and_collect_bridges
A small wrapper around discover_bridges that collects all the results into a list for you to parse through.
discover_and_collect_bridges_with_logging_hooks
A small wrapper around discover_bridges that collects all the results into a list for you to parse through with extra logging handlers.
discover_bridges
Discover all the Cat-Dev Bridges actively on the network.
discover_bridges_with_logging_hooks
Discover all the Cat-Dev Bridges actively on the network.
find_mion
Attempt to find a specific MION by searching for a specific field.
find_mion_with_logging_hooks
Attempt to find a specific MION by searching for a specific field.
get_all_broadcast_addresses
Get a list of all the network interfaces to actively scanning on.