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