Closed chrfranz closed 2 years ago
The message-event of the MQTT-client provides information with the following signature: (topic: string, payload: Buffer, packet: IPublishPacket)
(topic: string, payload: Buffer, packet: IPublishPacket)
This was not compatible to the signature of the processMqttMessage method: processMqttMessage(topic: string, message: Buffer, builder: OPCUABuilder).
processMqttMessage
processMqttMessage(topic: string, message: Buffer, builder: OPCUABuilder)
This pull request fixes the calling of the processMqttMessage method.
The message-event of the MQTT-client provides information with the following signature:
(topic: string, payload: Buffer, packet: IPublishPacket)
This was not compatible to the signature of the
processMqttMessage
method:processMqttMessage(topic: string, message: Buffer, builder: OPCUABuilder)
.This pull request fixes the calling of the
processMqttMessage
method.