- Mon Nov 09, 2015 2:09 pm
#33564
I would like to write my own code to parse commands incoming through UART interface. It looks like default AT library from SDK initializes entire set of commands after at_init(). I do not need all of them, I do nit want all of them.
I am not even sure if I am going to use AT+CMD format.
On AVR I usually use a parser, which is going through array of structures. Every structure consists of character string and pointer to function. If string matches received command, given function is executed through pointer.
I know it is possible to store it all inside of RAM, if there won't be too many commands. I just don't want. I'd rather prefer to preserve a little bit more of RAM, to prepare space for further development.
So. Is it possible to operate on such const data structure, without using RAM.