Documentation
    Preparing search index...
    Constants: {
        ackMessageTimeout: 5000;
        apiVersion: 256;
        compatApiVersion: 256;
        connectionTimeout: 10000;
        defaultRequestTimeout: 10000;
        factoryProfileHashes: {
            d00: number;
            d10: number;
            d12: number;
            d20: number;
            d4: number;
            d6: number;
            d6fudge: number;
            d6pipped: number;
            d8: number;
            unknown: number;
        };
        maxAdvertisedNameByteSize: 13;
        maxMessageSize: 100;
        maxMtu: 517;
        maxNameByteSize: 31;
        minMtu: 23;
    } = ...

    Constants used across the pixels-core-connect package.

    Type Declaration

    • ReadonlyackMessageTimeout: 5000

      The default timeout value (in milliseconds) for waiting on a Pixel to reply.

    • ReadonlyapiVersion: 256

      Messages and related data structures version number.

    • ReadonlycompatApiVersion: 256

      Minimum compatible version for the messages and related data structures.

    • ReadonlyconnectionTimeout: 10000

      The default timeout value (in milliseconds) when connecting to a Pixel.

    • ReadonlydefaultRequestTimeout: 10000

      The default timeout value (in milliseconds) for requests made to a Pixel.

    • ReadonlyfactoryProfileHashes: {
          d00: number;
          d10: number;
          d12: number;
          d20: number;
          d4: number;
          d6: number;
          d6fudge: number;
          d6pipped: number;
          d8: number;
          unknown: number;
      }

      Hash for firmware default profile.

    • ReadonlymaxAdvertisedNameByteSize: 13

      The maximum byte size for the name of a Pixel in the advertisement data.

    • ReadonlymaxMessageSize: 100

      The maximum size of messages send to a Pixel.

    • ReadonlymaxMtu: 517

      The highest Maximum Transmission Unit (MTU) value allowed by the BLE standard.

    • ReadonlymaxNameByteSize: 31

      The maximum byte size for the name of a Pixel.

    • ReadonlyminMtu: 23

      The lowest Maximum Transmission Unit (MTU) value allowed by the BLE standard.