What is bluetooth device monitor

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

This is a simple Bluetooth Monitor app which shows the status, type and MAC of nearby devices.

wangrunz/BluetoothMonitor

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This is a simple Bluetooth Monitor app which shows the status, type and MAC of nearby devices.

Support both Bluetooth and Bluetooth LE devices.

Functions did not complete yet.

Battery level for bluetooth headsets support HandsFree profile

Based on Bluetooth Accessory Design Guidelines for Apple Products, we could get battery level by listening Apple-specific AT Command.

Bluetooth Headset Battery Level Indication

Any Hands-Free Bluetooth headset accessory can show its battery level to the user as an indicator icon in the iOS device status bar. This feature is supported on all iOS devices that support the Hands-Free Profile

Читайте также:  Bluetooth наушники рейтинг 2022
Apple-specific HFP Command AT+IPHONEACCEV
  • Number of key/value pairs: The number of parameters coming next.
  • key : the type of change being reported:
  • 1 = Battery Level
  • 2 = Dock State
  • val : the value of the change:
  • Battery Level: string value between ‘0’ and ‘9’
  • Dock State: 0 = undocked, 1 = docked
Example: AT+IPHONEACCEV=1,1,3

And based on Bluetooth | Android Developer, to handle vendor-specific AT commands for headset, we need to create a broadcast receiver for the ACTION_VENDOR_SPECIFIC_HEADSET_EVENT.

Vendor-specific AT commands

Starting in Android 3.0 (API level 11), applications can register to receive system broadcasts of pre-defined vendor-specific AT commands sent by headsets (such as a Plantronics +XEVENT command). For example, an application could receive broadcasts that indicate a connected device’s battery level and could notify the user or take other action as needed. Create a broadcast receiver for the ACTION_VENDOR_SPECIFIC_HEADSET_EVENT intent to handle vendor-specific AT commands for the headset.

Broadcast Receiver never be fired by ACTION_VENDOR_SPECIFIC_HEADSET_EVENT

mMyBluetoothBackgroundReceiver = new MyBluetoothBackgroundReceiver(); IntentFilter intentFilter = new IntentFilter(); intentFilter.addAction(BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT); intentFilter.addCategory(BluetoothHeadset.VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY+'.'+BluetoothAssignedNumbers.APPLE); registerReceiver(mMyBluetoothBackgroundReceiver,intentFilter);
public void onReceive(Context context, Intent intent) < String action = intent.getAction(); Log.d(TAG,"onReceive: "+action); if (action.equals(BluetoothHeadset.ACTION_VENDOR_SPECIFIC_HEADSET_EVENT))< //not working String command = intent.getStringExtra(BluetoothHeadset.EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD); int type = intent.getIntExtra(BluetoothHeadset.EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE,-1); Log.d(TAG, "onReceive: "+command+" type: "+type); > >

Battery level for bluetooth LE device (GATT battery service) profile

Based on Bluetooth Low Energy | Android Developer, to read the characteristics from GATT server (remote bluetooth LE device) should follow steps:

  1. Request Bluetooth Permissions
  2. Set Up BluetoothAdapter
  3. Find BLE Devices
  4. Connect to a GATT Server
  5. Read BLE Attributes
  6. Close the Client App

At step 4 BluetoothGattCallBack.onServicesDiscovered() never fired.

BluetoothGattCallback mGattCallback = new BluetoothGattCallback()< @Override public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) < if (newState == BluetoothProfile.STATE_CONNECTED)< Log.d("GATT","services Connected"); Log.d("GATT","do discoverServices:"+mBluetoothGatt.discoverServices()); > > @Override public void onServicesDiscovered(BluetoothGatt gatt, int status) < Log.d("GATT","services discovered"+status); > @Override public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) < UUID uuid = characteristic.getUuid(); Log.d("GATT characteristic",uuid.toString()); > >; public void connectGatt(Context context,BluetoothDevice device)< mBluetoothGatt = device.connectGatt(context,false,mGattCallback); >

Log.d(«GATT»,»services Connected») and Log.d(«GATT»,»do discoverServices:»+mBluetoothGatt.discoverServices()) are hitted correctly and return value of mBluetoothGatt.discoverServices() is true

Читайте также:  Перестал подключаться блютуз гарнитура

About

This is a simple Bluetooth Monitor app which shows the status, type and MAC of nearby devices.

Источник

What does the devmonsrv.exe file do?

The devmonsrv.exe process is also known as Bluetooth Device Monitor and is a part of Intel Corporation — Mobile Wireless Group or, as the case may be, Intel PROSet Wireless Bluetooth. This software is produced by Intel (www.intel.com) or, as the case may be, Motorola Solutions. An obsolete or defective version of devmonsrv.exe can cause problems for your computer that can range from slowness to error messages such as these:

  • Bluetooth Device Monitor has stopped working. Windows is checking for a solution to the problem. (Windows 10, 8, 7)
  • Bluetooth Device Monitor has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. (Windows 10, 8, 7)
  • devmonsrv.exe has encountered a problem and needs to close.
  • Access violation at address FFFFFFFF in module devmonsrv.exe. Read of address 00000000.

Free PC Check

Scan your computer today at no charge with the Windows Repair Tool. This tool helps repair Windows and helps it run faster.
More information about Outbyte and Unistall. Please review Outbyte EULA and Privacy Policy. Outbyte scanner and repair are free. An advanced version must be purchased.

What you should know about devmonsrv.exe Bluetooth Device Monitor

devmonsrv.exe is not part of Windows, but it is important nonetheless. Devmonsrv.exe is found in a subdirectory of «C:\Program Files». Frequently occurring are file sizes such as 1,014,096 bytes (16% of all these files), 921,664 bytes as well as 11 other variants .
It is the service «Bluetooth Device Monitor».
This devmonsrv.exe process does not appear as a visible window, but only in Task Manager. The devmonsrv file is not part of the Windows operating system. You may uninstall the related program using Windows Control Panel. The producer of the file is registered with a certificate authority. This confirms the genuineness of the file. For this reason, 20% of all experts consider this file to be a possible threat. The probability that it can cause harm is high.

Читайте также:  Блютуз сопряжение есть звука нет

If you see this file on your hard drive or in Windows Task Manager, please make sure that it is not a malicious variant. It’s a fact that many trojans try to cloak their true identity by calling themselves devmonsrv.exe. With the above information or by using tools like Security Task Manager you can determine if, in your case, the file is an undesirable variant.

What do other computer users say about devmonsrv?

The file spreads very slowly and does not often make an appearance. Therefore, feedback from other users is not yet available.

How to uninstall Intel Corporation — Mobile Wireless Group or Intel PROSet Wireless Bluetooth

To remove Bluetooth Device Monitor from your computer, please follow the manual instructions below or use an automatic uninstaller product.

  1. Click the Windows Start Button. You find it in the lower left corner of the taskbar.
  2. Type the word uninstall.
  3. Click Add or remove programs.
  4. Now locate Intel Corporation — Mobile Wireless Group or Intel PROSet Wireless Bluetooth in the list of displayed applications.
  5. Click the program, and then click Uninstall.

Remove software in Windows 10

devmonsrv.exe Bluetooth Device Monitor fix

How to tell if devmonsrv.exe (Bluetooth Device Monitor) was uninstalled cleanly

After uninstalling, restart your computer. Then start Windows Explorer and see if there is still a folder with the name of the software under C:\Program Files. Be sure to check the Registry as well for remnants of Bluetooth Device Monitor. To do this, start «Regedit», then look under «HKEY_LOCAL_MACHINE» > «Software» for Bluetooth Device Monitor or the name of the producer. Always keep in mind that only a computer professional should ever directly delete entries in the Windows Registry.

What to do if a program does not uninstall

The easiest way to remove any kind of software cleanly and accurately is to use an uninstaller tool. Because the uninstaller automatically creates a backup, there is no risk of anything going wrong.

Last but not least

If Windows not working quite right for you, or if startup is taking a long time, or devmonsrv.exe is causing problems for you, a good Windows diagnostic tool may very well help. This is especially effective when it comes to older computers that have accumulated vast quantities of «garbage data» as the result of many software installs and uninstalls.

Источник

Оцените статью
Adblock
detector