Comparing version 2.9.1 to 3.0.0
@@ -8,3 +8,3 @@ { | ||
"description": "A SocketCAN abstraction layer for NodeJS.", | ||
"version": "2.9.1", | ||
"version": "3.0.0", | ||
"license": "MIT", | ||
@@ -11,0 +11,0 @@ "repository": { |
@@ -250,2 +250,9 @@ /* Copyright Sebastian Haas <sebastian@sebastianhaas.info>. All rights reserved. | ||
/** | ||
* Named information to inform that the frame is CAN_FD format . | ||
* @attribute Boolean | ||
* @final | ||
*/ | ||
this.canfd = desc.canfd; | ||
/** | ||
* Named array of signals within this message. Accessible via index and name. | ||
@@ -370,3 +377,3 @@ * @attribute {Signal} signals | ||
rtr: false, | ||
data : (m.len > 0 && m.len < 8) ? Buffer.alloc(m.len) : Buffer.alloc(8) | ||
data : (m.len > 0 && m.len < 64) ? Buffer.alloc(m.len) : Buffer.alloc(64) // for CANFD data buffer 64 bytes | ||
}; | ||
@@ -421,2 +428,3 @@ | ||
/** | ||
@@ -423,0 +431,0 @@ * @method parseNetworkDescription |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
263791
2524