you can connect one BelaMini's USB micro to the USB-A on the other one, however you'll need to change the IP addresses and DHCP range on the one that is connected via USB-micro so that ti it uses IPs different from the default, or the other one may be confused. Here's a summary of how those IP addresses work right now https://learn.bela.io/using-bela/technical-explainers/ip-addresses/
That's assuming you are looking for a ethernet-over-USB connection. You could leverage the MIDI connection instead and that wouldn't require much setup. The "host" one will see the other one as a regular USB midi device (probably hw:1,0,0
), while the "device" one will see the other as it would see a host via the USB gadget driver, so at hw:0,0,0
In terms of bandwidth, that's a USB-2.0 High Speed connection, so that's the upper limit. Actual throughput will depend on packet size and CPU usage among other things.