And don't use == to compare strings!
Actually, perhaps you try to do:
NB: better use an initial lowercase letter for variable names...
Actually, perhaps you try to do:
- if (SerialBuffer != null) {
- int BufLen ...
- }
NB: better use an initial lowercase letter for variable names...