| 36 | }; |
| 37 | |
| 38 | class ISOTPScriptHelper: public QObject |
| 39 | { |
| 40 | Q_OBJECT |
| 41 | public: |
| 42 | ISOTPScriptHelper(QJSEngine *engine); |
| 43 | public 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); |
| 48 | private slots: |
| 49 | void newISOMessage(ISOTP_MESSAGE msg); |
| 50 | private: |
| 51 | QJSValue gotFrameFunction; |
| 52 | QJSEngine *scriptEngine; |
| 53 | ISOTP_HANDLER *handler; |
| 54 | }; |
| 55 | |
| 56 | class UDSScriptHelper: public QObject |
| 57 | { |
nothing calls this directly
no outgoing calls
no test coverage detected