MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / ISOTPScriptHelper

Class ISOTPScriptHelper

scriptcontainer.h:38–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38class ISOTPScriptHelper: public QObject
39{
40 Q_OBJECT
41public:
42 ISOTPScriptHelper(QJSEngine *engine);
43public slots:
44 void setFilter(QJSValue id, QJSValue mask, QJSValue bus);
45 void clearFilters();
46 void sendISOTP(QJSValue bus, QJSValue id, QJSValue length, QJSValue data);
47 void setRxCallback(QJSValue cb);
48private slots:
49 void newISOMessage(ISOTP_MESSAGE msg);
50private:
51 QJSValue gotFrameFunction;
52 QJSEngine *scriptEngine;
53 ISOTP_HANDLER *handler;
54};
55
56class UDSScriptHelper: public QObject
57{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected