You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/frame.ts
+15-5Lines changed: 15 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -45,21 +45,31 @@ export class Frame {
45
45
privategetDataAsText(): string{
46
46
if(this.type==='error'){
47
47
return`Invalid frame: 0x${this.hexData}`;
48
-
}elseif(this.isUnknownFunctionCode()){
48
+
}elseif(this.isUnknownFunctionCodeStrategy()){
49
49
return`No strategy to format data field. Raw data field is: 0x${this.hexData}`;
50
50
}elseif(this.isNoValidDataFormat()){
51
-
return`This frame format does not fit to any known strategies: masterRequest=${this.masterRequest?.error}; slaveResponse=${this.slaveResponse?.error}; raw data: 0x${this.hexData}`;
51
+
return`This frame format does not fit to any known strategies:
0 commit comments