Hello,
I recently changed the size of the data buffer "appl_spp_data_buffer[4]" in appl_sdk.c to [6] to accommodate to spp transfer of all three axis of accelerometer data. I then added the appropriate variables and added to the buffer[] commands to pack the data and shift it out to the bt device to send. Now to the issue at hand. It's possible that I don't have enough memory to support this change but I am not sure. The warning I get everytime I step through the subroutine to get the accelerometer data is as follows:
"Tue Feb 28, 2012 11:08:27: The stack pointer for stack 'Stack' (currently Memory:0x20FC) is outside the stack range (Memory:0x5B4C to Memory:0x5C00) "
I have only a basic understanding of the stack, and would like to know if my above theory of not having enough memory is correct. Regardless of whether I am on the right track or not as to what the warning message means, I am lost when it comes to cleaning it up. Any help would be greatly appreciated.
~MJ