MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.

Your Search Results


    This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

    This API is available on Firefox OS for internal applications only.


    The BluetoothDevice API provides information regarding a given Bluetooth device.

    Interface overview

    interface BluetoothDevice: EventTarget
      readonly attribute DOMString     address;
      readonly attribute boolean       connected;
      readonly attribute unsigned long class;
      readonly attribute DOMString     icon;
      readonly attribute DOMString     name;
      readonly attribute boolean       paired;
      readonly attribute DOMString[]   services;
      readonly attribute DOMString[]   uuids;


    BluetoothDevice.address Read only
    A string representing the address of the device on the Bluetooth micro-network.
    BluetoothDevice.connected Read only
    A boolean indicating if the device is connected to the adapter (true) or not (false).
    BluetoothDevice.class Read only
    A number representing the Bluetooth "Class of Device" number for the device.
    BluetoothDevice.icon Read only
    A string indicating which kind of icon could be used to represent the device. Read only
    The human readable name of the device.
    BluetoothDevice.paired Read only
    A boolean indicating if the device is paired to the adapter (true) or not (false). Read only
    An Array of strings indicating what kind of Bluetooth services the device is able to provide.
    BluetoothDevice.uuids Read only
    An Array of strings indicating the UUIDs of each Bluetooth service the device is able to provide.




    Not part of any specification yet. It should be discussed as part of the W3C's System Applications Working Group.

    See also

    Document Tags and Contributors

    Contributors to this page: kscarfone, Jamin_Liu, sabrish, fscholz, Jeremie
    Last updated by: fscholz,