Constants: {
    ackMessageTimeout: 5000;
    apiVersion: 256;
    compatApiVersion: 256;
    connectionTimeout: 10000;
    defaultRequestTimeout: 10000;
    maxAdvertisedNameByteSize: 13;
    maxMessageSize: 100;
    maxMtu: 517;
    maxNameByteSize: 31;
    minMtu: 23;
} = ...

Constants used across the pixels-core-connect package.

Type declaration

  • Readonly ackMessageTimeout: 5000

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

  • Readonly apiVersion: 256

    Messages and related data structures version number.

  • Readonly compatApiVersion: 256

    Minimum compatible version for the messages and related data structures.

  • Readonly connectionTimeout: 10000

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

  • Readonly defaultRequestTimeout: 10000

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

  • Readonly maxAdvertisedNameByteSize: 13

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

  • Readonly maxMessageSize: 100

    The maximum size of messages send to a Pixel.

  • Readonly maxMtu: 517

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

  • Readonly maxNameByteSize: 31

    The maximum byte size for the name of a Pixel.

  • Readonly minMtu: 23

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

Generated using TypeDoc