aes70
Version:
A controller library for the AES70 protocol.
28 lines (25 loc) • 784 B
JavaScript
import { make_control_class } from '../make_control_class.js';
import { OcaSensor } from './OcaSensor.js';
/**
* Sensor for device identification mechanism. The idea of this mechanism is
* that there is some kind of control -- a pushbutton, for instance -- that the
* user depresses to send a device identification event to the controller. Such
* mechanisms aid in the setup of networks.
* @extends OcaSensor
* @class OcaIdentificationSensor
*/
export const OcaIdentificationSensor = make_control_class(
'OcaIdentificationSensor',
4,
'\u0001\u0001\u0002\u0006',
2,
OcaSensor,
[],
[],
[['Identify', 4, 1, []]]
);
/**
* Event that is emitted when someone actuates the device identification
* control.
* @member OcaIdentificationSensor#OnIdentify {Event}
*/