All participating smartphones search for nearby devices and tags via Bluetooth, as Google explains. If they recognise connected and registered devices, they send their location to the network.
Check Bluetooth compatibility: Nearby Sharing requires both PCs to have Bluetooth 4.0 (or higher) with Low Energy support. If one or both devices do not meet this requirement. To check ...