highing666 4 سال پیش
والد
کامیت
827f5cc9ff
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      app/controllers/location/ble/space.py

+ 2 - 0
app/controllers/location/ble/space.py

@@ -21,9 +21,11 @@ class SpacePositioningController:
         for ibeacon in ibeacon_list:
             if ibeacon.rssi != 0:
                 strongest = ibeacon
+                logger.debug(strongest)
                 strongest_id = str(strongest.major) + '-' + str(strongest.minor)
                 break
 
+        logger.debug(strongest_id)
         return self.ibeacon_space_dict.get(strongest_id)