| 24: print “Transmission success rate %” |
| 25: else if inTransmissionSession is true then |
| 26: if receivedChar is in range ‘1’ to ‘10’ then |
| 27: increment totalChars by 1 |
| 28: increment receivedChars by 1 |
| 29: else if receivedChar is in range ‘0’ to ‘10’ then |
| 30: increment totalChars by 1 |
| 31: end if |
| 32: end else if |
| 33: end if |
| 34: end function |