Possible SoftwareSerial bug

We can't see what you do get, though...

The post on stackexchange.com actually contains a lot of information. I've copy/pasted a comment I made there; For example, if i send five 1s (11111) I get this back; 49, 152, 76, 166, 230 first time. Second transmit of the same string I get this; 49, 166, 166, 70, 243. I find it a bit strange that I get different numbers.

It would be a good idea to confirm that there is room in the array for the value. Since you are reading bytes (chars, presumably), why are you storing them in an int array?

True. However, this is a small test program, made for me sending a few chars at a time. And weather it is int or chars does not matter, since my main concern right now is just to get some consistency. When I send five of the same chars, I would expect to get five equal chars/ints back. This is my main concern - the lack of consistency.

Thanks for your effort.