Skip to content

Commit

Permalink
Merge pull request #8 from cterwilliger/change-to-frameLen-value
Browse files Browse the repository at this point in the history
Update VeDirectFrameHandler.h
  • Loading branch information
cterwilliger authored Mar 3, 2021
2 parents 6e6918b + 88fc6cb commit 6b68b12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion VeDirectFrameHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
* Derived from Victron framehandler reference implementation.
*
* 2020.05.05 - 0.2 - initial release
* 2021.02.23 - 0.3 - change frameLen to 22 per VE.Direct Protocol version 3.30
*
*/

#ifndef FRAMEHANDLER_H_
#define FRAMEHANDLER_H_

const byte frameLen = 18; // VE.Direct Protocol: max frame size is 18
const byte frameLen = 22; // VE.Direct Protocol: max frame size is 18
const byte nameLen = 9; // VE.Direct Protocol: max name size is 9 including /0
const byte valueLen = 33; // VE.Direct Protocol: max value size is 33 including /0
const byte buffLen = 40; // Maximum number of lines possible from the device. Current protocol shows this to be the BMV700 at 33 lines.
Expand Down

0 comments on commit 6b68b12

Please sign in to comment.