Subversion Repositories FlightCtrl

Rev

Rev 231 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 231 Rev 303
Line 40... Line 40...
40
        remote_devices=new RemoteDevice[MAX_DEVICES];
40
        remote_devices=new RemoteDevice[MAX_DEVICES];
41
        remote_device_name=new String[MAX_DEVICES];
41
        remote_device_name=new String[MAX_DEVICES];
42
        remote_device_mac=new String[MAX_DEVICES];
42
        remote_device_mac=new String[MAX_DEVICES];
Line 43... Line 43...
43
 
43
 
-
 
44
        remote_device_count=0;          
-
 
45
       
-
 
46
    }
-
 
47
 
-
 
48
    public void search()
-
 
49
    {
-
 
50
        searching=true;
44
        remote_device_count=0;          
51
        remote_device_count=0;          
45
        try
52
        try
46
            {
53
            {
47
                //First get the local device and obtain the discovery agent. 
54
                //First get the local device and obtain the discovery agent. 
48
                m_LclDevice = LocalDevice.getLocalDevice();
55
                m_LclDevice = LocalDevice.getLocalDevice();
Line 54... Line 61...
54
            {
61
            {
55
                error=true;
62
                error=true;
56
                err_log+="Problem in searching the blue tooth devices\n" + ex;
63
                err_log+="Problem in searching the blue tooth devices\n" + ex;
Line 57... Line 64...
57
               
64
               
58
            }
-
 
59
       
-
 
Line -... Line 65...
-
 
65
            }
Line 60... Line 66...
60
    }
66
 
Line 61... Line 67...
61
 
67
    }
62
 
68