![]() This topic creates a subscription for the topic RepetierMqtt/Neptune-19/UploadGCode, which is used to upload gcode files and print them directly. data contains the event payload or the command response payload. In order to be able to identify the event and command responses, the published messages contain additional information. The MqttClientOption type holds information about the broker, authentication, etc. The provided BaseTopic is put in front of every other provided topic. This creates an simple instance with not much functionally other than offering you a MQTT client to publish messages. WithBaseTopic("RepetierMqtt/Neptune-19") WithMqttClientOptions(MqttOptionsProvider.DefaultMqttClientOptions) RepetierMqttClient MqttClient = new RepetierMqttClientBuilder() RepetierConnection rc = new RepetierConnectionBuilder() The RepetierMqtt client needs an instance of RepetierConnection from RepetierSharp. RepetierMqtt uses a fluent builder api to reduce the complexity when creating a new client instance. I will try to write a more thourough documentation as soon as possible. The following sections show some examples on how to use the RepetierMqtt client. ![]() Bugs are to be expected - please bear with me and help improving it by submitting issues on GitHub. Getting startedĭISCLAIMER: RepetierMqtt is still in beta. Framework supportĬurrently RepetierMqtt supports. It also provides the possibility to send commands via MQTT to the Repetier Server as well as upload and start gcode files. RepetierMqtt is a small and simple MQTT client which leverages the RepetierSharp client to forward information from the Repetier Server API to MQTT. If you face any issues or have any questions, please comment below.RepetierMqtt - A simple, easy configurable MQTT client to access your Repetier Server Introduction Hope this guide helps you to enjoy RC Repetier Server Pro on your Windows PC or Mac Laptop. Double-click the app icon to open and use the RC Repetier Server Pro in your favorite Windows PC or Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |