// Start is called before the first frame update
 void Start()
 {
     // launch the discovery probe
     myProbe = new BeaconLib.Probe(discoveryIdentifier);
     myProbe.BeaconsUpdated += ProcessBeaconList;
     myProbe.Start();
 }
Ejemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        // init
        newAddresses         = new Queue <System.Net.IPEndPoint>();
        initializedAddresses = new HashSet <System.Net.IPEndPoint>();

        // launch
        myProbe = new BeaconLib.Probe(discoveryIdentifier);
        myProbe.BeaconsUpdated += ProcessBeaconList;
        myProbe.Start();
    }