Method and device for setting bluetooth working state
A working state, Bluetooth technology, applied in security devices, connection management, broadcast service distribution, etc., can solve problems such as untrusted device attacks, and achieve the effect of ensuring the security of Bluetooth communication
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] This embodiment provides a method for setting the Bluetooth working state, including:
[0036] Step s0: Power on the device, enable button interruption and bluetooth interruption;
[0037] In this embodiment, after the device is powered on, its own bluetooth working state is invisible to the outside world.
[0038] Step s1: The device judges its own Bluetooth working status, judges whether there is a button trigger, and monitors Bluetooth events. If it judges that its own Bluetooth working status is invisible to the outside, then executes step s2; If the value judges that the type of the triggered button is the first button, step s3 is executed; if a Bluetooth event is detected and judged to be a Bluetooth broadcast event according to the Bluetooth event identifier, step s4 is executed; otherwise, step s1 is returned;
[0039] Step s2: The device judges whether the trusted device has been stored, and if so, sets its Bluetooth working status to be visible and connectabl...
Embodiment 2
[0097] This embodiment provides a method for setting the Bluetooth working state, such as Figure 1-Figure 8 shown, including:
[0098] Step 100: The device is powered on and initialized, and the button interrupt and Bluetooth interrupt are turned on, and the Bluetooth working status, stored device information and pairing mode are read from the Bluetooth module, and the Bluetooth working status, stored device information and pairing mode are stored in the structure , to reset the security menu flag;
[0099] Specifically, the main control module in the device is powered on and initialized, the Bluetooth module in the device is powered on and initialized, the button interrupt and the Bluetooth interrupt are turned on, and the main control module reads the Bluetooth working status, stored device information and pairing mode from the Bluetooth module, Store the Bluetooth working status, stored device information and pairing mode in the structure, and reset the security menu flag;...
Embodiment 3
[0159] This embodiment provides a device, such as Figure 9 As shown, it includes: key interruption module 01, bluetooth interruption module 02, first judgment module 03, second judgment module 04, third judgment module 05, fourth judgment module 06, first setting module 07, first acquisition module 08 , the second setting module 09, the fifth judging module 10, the sixth judging module 11, the first returning module 12 and the second returning module 13;
[0160] The button interrupt module 01 is used to judge the type of the triggered button when it is detected that the button interrupt is triggered, and if the first button is triggered, the button key value is set to the first preset value;
[0161] Bluetooth interrupt module 02, for after detecting that the Bluetooth interrupt is triggered, set the Bluetooth event identification according to the type of the monitored Bluetooth event, if the Bluetooth event is a Bluetooth broadcast event, then the Bluetooth event identifica...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


