Command processor to access I2C and SPI Takes URI coded commands and returns JSON array
Fork of SerialInterface by
Diff: SerialInterface.h
- Revision:
- 10:94a98d095b2a
- Parent:
- 9:f52181496512
- Child:
- 11:bc8d6816839f
--- a/SerialInterface.h Thu Oct 19 23:19:42 2017 +0000 +++ b/SerialInterface.h Fri Jan 26 00:10:32 2018 +0000 @@ -7,6 +7,9 @@ #include "mbed.h" #include "SerialInterface.h" +#define MAX_NUM_ARGS 0x4000 +#define DBUF_MAX_LENGTH 0x4000 + /** Serial Interface Library, Provides utilities for remotely accessing peripherals * * Example: @@ -106,8 +109,8 @@ AnalogIn *_ain; // Internal Buffers - int _args[64]; - char _dbuf[256]; + int _args[MAX_NUM_ARGS]; + char _dbuf[DBUF_MAX_LENGTH]; };