Code Monkey home page Code Monkey logo

bluetooth's Introduction

Bluetooth module

Bluetooth module for MunkiReport. Gathers information connected Bluetooth devices

Table Schema

Database:

  • machine_address - varchar(255) - MAC address of computer
  • autoseek_keyboard - boolean - will prompt to connect to keyboard on boot
  • autoseek_pointing - boolean - will prompt to connect to mouse on boot
  • connectable - boolean - devices able to connect
  • discoverable - boolean - machine discoverable
  • hardware_transport - varchar(255) - Bluetooth hardware bus
  • machine_name - varchar(255) - name of machine
  • power - boolean - Bluetooth power state
  • remotewake - boolean - remote wake for devices enabled
  • supports_handoff - boolean - supports handoff
  • supports_instanthotspot - boolean - supports instant hotspot
  • supports_airdrop - boolean - supports AirDrop
  • supports_lowenergy - boolean - supports Bluetooth low energy
  • vendor_id - varchar(255) - Bluetooth hardware vendor ID
  • apple_bluetooth_version - varchar(255) - Apple Bluetooth version
  • device_name - varchar(255) - device name
  • device_address - varchar(255) - device MAC address
  • rssi - int - RSSI value of connection
  • batterypercent - int - battery percentage of device
  • isnormallyconnectable - boolean - is device normally connectable
  • isconfigured- boolean - is device configured
  • isconnected - boolean - is device connected
  • ispaired - boolean - is device paired
  • manufacturer - varchar(255) - manufacturer of device
  • majorclass - varchar(255) - major class of device
  • minorclass - varchar(255) - minor class of device
  • services - text - string of exposed Bluetooth services

bluetooth's People

Contributors

bochoven avatar tuxudo avatar mosen avatar jbw0p68c3g8h avatar magervalp avatar poundbangbash avatar znerol avatar gmarnin avatar morgant avatar

Stargazers

Mark avatar Janusz Żukowicz avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

bluetooth's Issues

Not showing devices in Monterey

If I run system_profiler SPBluetoothDataType I get a list of all my bluetooth devices, but the MR script only lists the built-in interface.

MR only shows this:

Screenshot 2022-06-11 at 18 55 05

I also noticed that on my Intel iMac (12.4.0) system_profiler SPBluetoothDataType displays more info about the interface than is shown in MR. In my case I see:

          Address: A4:82:.....
          State: On
          Chipset: BCM_4364B3
          Discoverable: Off
          Firmware Version: v82 c4200
          Product ID: 0x0001
          Supported services: 0x382039 < HFP AVRCP A2DP HID Braille AACP GATT Serial >
          Transport: UART
          Vendor ID: 0x004C (Apple)```

This is followed with the full device list

Empty results

I'm getting this result in plist when I run bluetooth.py, no errors. I have AirPods and MagicKeyboard connected. iMac 2013 if it's relevant somehow. Anyone else seeing this?

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>bluetooth_power</key>
	<true/>
</dict>
</plist>

Summary page

Requesting a summary page for a device to list it's Bluetooth devices. I can work on this at some point, but not at the moment. Just adding this here as a reminder, or if someone would like a fairly simple thing to work on.

No Bluetooth devices macOS12

#6

Pretty much the same issue. Munkireport shows No Bluetooth Hardware Found and the cache file shows
power
-1
Using the newest macOS 12 Beta.

upgrade to v6

Has Py 3 branch

I didnt make any style updates for this yet - mosen.

No Bluetooth detected

With Bluetooth module enabled, no data is being returned in munkireport. On test machine bluetooth is in fact present & on.

Cached bluetoothinfo.plist reveals a power key with an integer value of -1 but no other data as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.