First pass at turning on functionality to allow frame sending from the new connection system.
The fuzzing window has been modified to use the new system. This validates that it mostly works now. More screens will be modified to work soon.
This commit is contained in:
@@ -20,6 +20,19 @@ public:
|
||||
|
||||
CANConnection* getByName(const QString& pName) const;
|
||||
|
||||
int getNumBuses();
|
||||
|
||||
/**
|
||||
* @brief sendFrame sends a single frame out the desired bus
|
||||
* @param pFrame - reference to a CANFrame struct that has been filled out for sending
|
||||
* @return bool specifying whether the send succeeded or not
|
||||
* @note Finds which CANConnection object is responsible for this bus and automatically converts bus number to pass properly to CANConnection
|
||||
*/
|
||||
bool sendFrame(const CANFrame& pFrame);
|
||||
|
||||
//just the multi-frame version of above function.
|
||||
bool sendFrames(const QList<CANFrame>& pFrames);
|
||||
|
||||
signals:
|
||||
void framesReceived(CANConnection* pConn_p, QVector<CANFrame>& pFrames);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user