Skip to content

SPNetworkDataType output mismatch in macOS 26.2 #13

@GandalfTea

Description

@GandalfTea

Currently the library registers Thunderbolt connections by checking for _name in SPNetworkDataType and compares to Thunderbolt Bridge but the name of entries are different on macOS 26.2. "_name" : "thunderboltusb4_bus_1", "_name" : "thunderboltusb4_bus_2"

Full interface output:

"SPThunderboltDataType" : [
    {
      "_items" : [
        {
          "_name" : "Mac mini",
          "device_id_key" : "0xA",
          "device_name_key" : "Mac16,11",
          "domain_uuid_key" : "33B9DEB3-7BCF-4484-B17A-4DE3FDB4A6F7",
          "services_title" : [
            {
              "_name" : "service_ip",
              "protocol_id_key" : 1,
              "protocol_revision_key" : 1,
              "protocol_version_key" : 1,
              "service_uuid_key" : "731790CF-D861-4C4F-85D5-80C014648CBA"
            }
          ],
          "vendor_id_key" : "0x0A27",
          "vendor_name_key" : "Apple Inc."
        }
      ],
      "_name" : "thunderboltusb4_bus_2",
      "device_name_key" : "Mac mini",
      "domain_uuid_key" : "9EF24454-AF90-4238-BF46-4ECEB2E362BF",
      "receptacle_1_tag" : {
        "current_speed_key" : "80 Gb/s",
        "link_status_key" : "0x2",
        "micro_version_key" : "0.0.0",
        "receptacle_id_key" : "3",
        "receptacle_status_key" : "receptacle_connected"
      },
      "route_string_key" : "0",
      "switch_uid_key" : "0x05ACC7E3E4CAEC22",
      "vendor_name_key" : "Apple Inc."
    },

t might be better to check for receptacle_1_tag in receptacle_status_key and see if it's receptacle_connected or receptacle_no_devices_connected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions