UNPKG

@homebridge/dbus-native

Version:

D-bus protocol implementation in native javascript

55 lines (52 loc) 912 B
module.exports = { messageType: { invalid: 0, methodCall: 1, methodReturn: 2, error: 3, signal: 4 }, headerTypeName: [ null, 'path', 'interface', 'member', 'errorName', 'replySerial', 'destination', 'sender', 'signature' ], // TODO: merge to single hash? e.g path -> [1, 'o'] fieldSignature: { path: 'o', interface: 's', member: 's', errorName: 's', replySerial: 'u', destination: 's', sender: 's', signature: 'g' }, headerTypeId: { path: 1, interface: 2, member: 3, errorName: 4, replySerial: 5, destination: 6, sender: 7, signature: 8 }, protocolVersion: 1, flags: { noReplyExpected: 1, noAutoStart: 2 }, endianness: { le: 108, be: 66 }, messageSignature: 'yyyyuua(yv)', defaultAuthMethods: ['EXTERNAL', 'DBUS_COOKIE_SHA1', 'ANONYMOUS'] };