From 16cd86b22cf53da341b24c46e703a48399bd4eec Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 23 Mar 2018 15:15:19 -0500 Subject: Add init scripts and default file to RFCOMM. Device NAME issue is TBD --- recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py') diff --git a/recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py b/recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py index 992de45..360f5f4 100644 --- a/recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py +++ b/recipes-connectivity/bluez/bluez5/rfcomm/rfcomm.py @@ -306,6 +306,10 @@ class Profile(dbus.service.Object): fp_localdir = BLUEZLIB + '/' + localdir # Full path lg.debug('Localdir: %s' % (fp_localdir)) if os.path.isdir(fp_localdir) and localdir.count(':') == 5: + # TBD !!!!! + # Look for fp_localdir + address/info or + # fp_localdir + 'cache' + address + # or get this from bluez somehow using an unknown API. lg.debug('Localdir is directory and 5 colons: %s' % (fp_localdir)) # We have MAC address for clientdir in os.listdir(fp_localdir): -- cgit v1.2.3