updated packet size
This commit is contained in:
parent
057cce2096
commit
6b26acf538
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SimpleSerialProtocol",
|
||||
"version": "1.3.0",
|
||||
"version": "1.4.0",
|
||||
"description": "Easy-to-use serial protocol system for arduino type devices.",
|
||||
"keywords": "Serial, Connectivity, USB, Simple",
|
||||
"repository":
|
||||
|
@ -21,9 +21,9 @@
|
||||
class SerialConnection
|
||||
{
|
||||
private:
|
||||
int serialBufferSize = 1024;
|
||||
char serialBuffer[1024];
|
||||
char serialData[1024] = {0};
|
||||
int serialBufferSize = 512;
|
||||
char serialBuffer[512];
|
||||
char serialData[512] = {0};
|
||||
|
||||
const char packetStartMarker = '<';
|
||||
const char packetEndMarker = '>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user