UNPKG

@wildboar/rose

Version:
46 lines (45 loc) 1.75 kB
import { _decode_InvokeId, _encode_InvokeId, } from '../Remote-Operations-Generic-ROS-PDUs/InvokeId.ta.mjs'; import { _decode_acknowledge_ResultType, _encode_acknowledge_ResultType, } from '../Remote-Operations-Useful-Definitions/acknowledge-ResultType.ta.mjs'; /** * @summary acknowledge * @description * * ### ASN.1 Definition: * * ```asn1 * acknowledge OPERATION ::= { * ARGUMENT InvokeId * RESULT ENUMERATED {acknowledged(0), unknown(1), ... * } * IDEMPOTENT TRUE * CODE local:-3 * } * ``` * * @constant * @type {OPERATION<InvokeId, acknowledge_ResultType>} * @implements {OPERATION<InvokeId, acknowledge_ResultType>} */ export const acknowledge = { class: 'OPERATION', decoderFor: { '&ArgumentType': _decode_InvokeId, '&ResultType': _decode_acknowledge_ResultType, }, encoderFor: { '&ArgumentType': _encode_InvokeId, '&ResultType': _encode_acknowledge_ResultType, }, '&idempotent': false /* OBJECT_FIELD_SETTING */, '&operationCode': { local: -3, } /* OBJECT_FIELD_SETTING */ /* UNIQUE_OBJECT_FIELD_SETTING */, '&ArgumentType': 0 /* OBJECT_FIELD_SETTING OBJECT_TYPE_FIELD_SETTING */, '&ResultType': 0 /* OBJECT_FIELD_SETTING OBJECT_TYPE_FIELD_SETTING */, '&InvokePriority': 0 /* OBJECT_FIELD_SETTING OBJECT_VALUE_SET_FIELD_SETTING */, '&ResultPriority': 0 /* OBJECT_FIELD_SETTING OBJECT_VALUE_SET_FIELD_SETTING */, '&returnResult': false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, '&synchronous': false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, '&alwaysReturns': false /* OBJECT_FIELD_SETTING DEFAULT_OBJECT_FIELD_SETTING */, }; /* eslint-enable */