Confirmed users
891
edits
| Line 11: | Line 11: | ||
interface BluetoothClassOfDevice | interface BluetoothClassOfDevice | ||
{ | { | ||
// Major service clas | |||
const unsigned short LIMITED_DISCOVERABILITY = 0x0001; | const unsigned short LIMITED_DISCOVERABILITY = 0x0001; | ||
const unsigned short POSITIONING = 0x0008; | const unsigned short POSITIONING = 0x0008; | ||
| Line 28: | 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 | |||
const octet MISC = 0x00; | const octet MISC = 0x00; | ||
const octet COMPUTER = 0x01; | const octet COMPUTER = 0x01; | ||
| Line 44: | 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 octet majorDeviceClass; | |||
readonly attribute octet minorDeviceClass; | |||
}; | }; | ||