Abstract: A method and a system for smart Bluetooth operation switching based on a beacon broadcast are provided. A Bluetooth device transmits the beacon broadcast; a mobile terminal scans the beacon broadcast and, by parsing the beacon broadcast, the mobile terminal determines whether to wake up an application program; sending a parsed beacon broadcast to the application program, and identifying feature data of a Bluetooth device connectable broadcast set in the beacon broadcast; the Bluetooth device transmits a connectable broadcast; the mobile terminal connects to the connectable broadcast and performs an identity verification; acquiring a received signal strength indicator (RSSI) signal strength between the Bluetooth device and the mobile terminal, and mutually calculating position information to obtain a relative distance of the Bluetooth device and the mobile terminal; and, when the relative distance reaches a threshold, executing a corresponding switch action.
Abstract: A method and a system for smart Bluetooth operation switching based on a beacon broadcast are provided. A Bluetooth device transmits the beacon broadcast; a mobile terminal scans the beacon broadcast and, by parsing the beacon broadcast, the mobile terminal determines whether to wake up an application program; sending a parsed beacon broadcast to the application program, and identifying feature data of a Bluetooth device connectable broadcast set in the beacon broadcast; the Bluetooth device transmits a connectable broadcast; the mobile terminal connects to the connectable broadcast and performs an identity verification; acquiring a received signal strength indicator (RSSI) signal strength between the Bluetooth device and the mobile terminal, and mutually calculating position information to obtain a relative distance of the Bluetooth device and the mobile terminal; and, when the relative distance reaches a threshold, executing a corresponding switch action.