After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153430 - gnome-netstatus lacks signal strengh indication for Bluetooth (BNEP) devices.
gnome-netstatus lacks signal strengh indication for Bluetooth (BNEP) devices.
Status: RESOLVED WONTFIX
Product: gnome-netstatus
Classification: Deprecated
Component: general
0.9
Other Linux
: Normal enhancement
: ---
Assigned To: Mark McLoughlin
Mark McLoughlin
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2004-09-22 13:40 UTC by David Woodhouse
Modified: 2011-07-10 02:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Woodhouse 2004-09-22 13:40:06 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.
Comment 1 Akhil Laddha 2011-07-10 02:44:23 UTC
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