User Manual

Copyright © 2000-2011 Bluegiga Technologies Page 26 of 61
$ badctl --help
usage: badctl DEVICE [COMMAND]
Manage Bluegiga Access Device and read state of button
available devices:
modem internal GPRS/3G modem
wifi internal Wi-Fi
usb external USB port
button state of button
commands (all devices except button):
on switch power on
off switch power off
reset do power cycle
exit status (commands):
0 executed successfully (OK)
1 problems during running command
2 unable to open device /dev/led
exit status (state of button):
0 button is not pressed
1 button is pressed
5.4 Finder - Bluegiga Access Device Finder
5.4.1 Finder Service and Command
The Finder service is a small service, which listens for UDP broadcast queries from Access Device Finder
applications and responds to those queries with identification information (IP address, model, serial number,
etc.).
The command can be used to query Finder service information from Access Devices in the network. Withfinder
no parameters, sends the query using the broadcast address of the default interface (nap). Broadcastingfinder
to networks of other interfaces can be done with --interface parameter, such as the zero configuration interface
nap:9 in the following example:
[root@wrap root]$ finder --interface nap:9
Access Point 3241 (S/N: 1012010002) (build: 4.3)
- Description: Access Point
- Hostname: wrap.localdomain
- IP: 10.1.1.111 (nap), 169.254.175.252 (nap:9), 192.168.161.1 (gn)
- Ethernet MAC: 00:07:80:01:3a:46
- iWRAP: 10101 00:07:80:99:91:ff bt2.0 (W1012010002_1)
Access Server 2293 (S/N: 1611150016) (build: 4.0)
- Description: VFD #1611150016
- Hostname: wrap.localdomain
- IP: 169.254.202.147 (nap:9), 192.168.161.1 (gn), 10.1.1.65 (wlan0)
- Ethernet MAC: 00:07:80:81:65:76
With parameter --send finder will send info once to a specified host, for example to inform the host that the
device has booted.