January 2019
Intermediate to advanced
458 pages
10h 35m
English
The JuraTerm module is similar to the Jura one, but it accepts remote commands, encodes them in the same way as the Jura module, and returns the decoded response. In the project it used to be the Jura class until it got superseded by the new Jura class and this one was delegated to just a terminal class. In a future revision this module's functionality will therefore be merged into the main Jura class.
#include "base_module.h"
class JuraTermModule { static String mqttTxBuffer; static bool toCoffeemaker(String cmd); static void onSerialReceived(Stream &stream, char arrivedChar, unsigned short availableCharsCount); public: static bool initialize(); static bool start(); static bool shutdown(); static void commandCallback(String message); ...