Skip to main content
. 2016 Feb 22;16(2):268. doi: 10.3390/s16020268
Algorithm 2 BlueDetect IO detection and localization algorithm (Semi-outdoors ⇌ indoors).
  • input: B - Bluetooth signal (iBeacon), W - WiFi signal, σt - duration threshold

  • output: Location of the mobile device

  • if Bindoor<Bsemi-outdoor for σt then

  •     Turn off WiFi;

  •     Utilize B for localization;

  •     Environment TypeSemi-outdoor

  • else

  •     Utilize W for localization;

  •     Environment TypeIndoor

  • end if