Once I send a length of say 4, I can't reduce the length below that. The master always receives the maximum length of what I set even though the length variable has been reduced again below that.
Example for a session:
Send w2
writeLen = 2, data master recieves is length 2
Send w4
writeLen = 4, data master recieves is length 4
Send w2
writeLen = 2, data master recieves is length 4 though writeLen is reported as 2 thru the serial port
Send w8
writeLen = 8, data master recieves is length 8
Send w2
writeLen = 2, data master recieves is length 8 though writeLen is reported as 2 thru