Lines Matching refs:device
19 fprintf(stderr, "%s: <device> join|leave|list [<network> [<password>]]\n",
59 BNetworkDevice device(argv[1]);
60 if (!device.Exists()) {
64 if (!device.IsWireless()) {
65 fprintf(stderr, "\"%s\" is not a WLAN device!\n", argv[1]);
77 status_t status = device.JoinNetwork(argv[3], password);
87 status_t status = device.LeaveNetwork(argv[3]);
100 status = device.GetNetwork(link, network);
102 status = device.GetNetwork(argv[3], network);
113 device.GetNetworks(networks, networksCount);
124 while (device.GetNextAssociatedNetwork(cookie, network) == B_OK) {