"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var BleConsts_exports = {};
__export(BleConsts_exports, {
  MatterBle: () => MatterBle
});
module.exports = __toCommonJS(BleConsts_exports);
var import_general = require("@matter/general");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var MatterBle;
((MatterBle2) => {
  MatterBle2.SERVICE_UUID_SHORT = "fff6";
  MatterBle2.SERVICE_UUID = "0000fff6-0000-1000-8000-00805f9b34fb";
  function isServiceUuid(uuid) {
    const lower = uuid.toLowerCase();
    return lower === MatterBle2.SERVICE_UUID_SHORT || lower === MatterBle2.SERVICE_UUID;
  }
  MatterBle2.isServiceUuid = isServiceUuid;
  MatterBle2.C1_CHARACTERISTIC_UUID = "18EE2EF5-263D-4559-959F-4F9C429F9D11";
  MatterBle2.C2_CHARACTERISTIC_UUID = "18EE2EF5-263D-4559-959F-4F9C429F9D12";
  MatterBle2.C3_CHARACTERISTIC_UUID = "64630238-8772-45F2-B87D-748A83218F04";
  MatterBle2.MINIMUM_ATT_MTU = 20;
  MatterBle2.MAXIMUM_BTP_MTU = 244;
  MatterBle2.BTP_MAXIMUM_WINDOW_SIZE = 255;
  MatterBle2.BTP_CONN_RSP_TIMEOUT = (0, import_general.Seconds)(5);
  MatterBle2.BTP_ACK_TIMEOUT = (0, import_general.Seconds)(15);
  MatterBle2.BTP_SEND_ACK_TIMEOUT = (0, import_general.Millis)(MatterBle2.BTP_ACK_TIMEOUT / 3);
  MatterBle2.BTP_CONN_IDLE_TIMEOUT = (0, import_general.Seconds)(30);
  MatterBle2.BTP_SUPPORTED_VERSIONS = [4];
  MatterBle2.MAX_MATTER_PAYLOAD_SIZE = import_general.MAX_UDP_MESSAGE_SIZE;
})(MatterBle || (MatterBle = {}));
//# sourceMappingURL=BleConsts.js.map
