B2G/Bluetooth/WebBluetooth-v2/BluetoothClassOfDevice: Difference between revisions

Jump to navigation Jump to search
Line 21: Line 21:
   const unsigned short TELEPHONY              = 0x0200;
   const unsigned short TELEPHONY              = 0x0200;
   const unsigned short INFORMATION            = 0x0400;
   const unsigned short INFORMATION            = 0x0400;
 
   // Major device class
   // Major device class
   const octet MISC          = 0x00;
   const octet MISC          = 0x00;
Line 34: Line 34:
   const octet HEALTH        = 0x09;
   const octet HEALTH        = 0x09;
   const octet UNCATEGORIZED = 0x1F;
   const octet UNCATEGORIZED = 0x1F;
 
   readonly attribute unsigned short majorServiceClass;
   readonly attribute unsigned short majorServiceClass;
   readonly attribute octet majorDeviceClass;
   readonly attribute octet majorDeviceClass;
Confirmed users
891

edits

Navigation menu