GNOME Bugzilla – Bug 153430
gnome-netstatus lacks signal strengh indication for Bluetooth (BNEP) devices.
Last modified: 2011-07-10 02:44:23 UTC
The netstatus applet shows signal strength for 802.11 wireless Ethernet, but does not show signal strength on Bluetooth links. Please add this feature. It might use something like this... #include <bluetooth/bluetooth.h> #include <bluetooth/bnep.h> int get_bnep_peer(char *devname, baddr_t *bdaddr) struct bnep_connlist_req req; int i; ctl = socket(PF_BLUETOOTH, SOCK_RAW, BTPROTO_BNEP); if (ioctl(ctl, BNEPGETCONNLIST, &req) && ioctl(ctl, OLD_BNEPGETCONLIST, &req)) barf(); for (i=0; i< req.cnum; i++) if (!strcmp(req.ci[i].device, devname) { *bdaddr = ci[i].dst; return 0; } } return 1; } ... and with that bdaddr you can get the link quality by doing something like what cmd_lq() in bluez-utils' hcitool.c does.
gnome-netstatus development has been stalled [1]. Maintainers don't have future development plan so i am closing the bugs as WONTFIX. [1] http://mail.gnome.org/archives/desktop-devel-list/2011-June/msg00073.html