I keep getting a crash of this:
Sometimes after opening or closing the serial port.
Sometimes if the serial port is open, I do a send, then I do Astream.close, and Serial1.close, the app crashes with that error.
I cant seem to solve it. Any ideas?
B4X:
terminate called after throwing an instance of 'std::bad_alloc'
Sometimes after opening or closing the serial port.
Sometimes if the serial port is open, I do a send, then I do Astream.close, and Serial1.close, the app crashes with that error.
I cant seem to solve it. Any ideas?