gsmBER (Function) |
Top Previous Next |
This function returns the Bit Error Rate in the communication with the GSM base station. To check the bit error rate there must be a call in progress to obtain realistic values. If no call is set up, there is no BER to be determined. In this case, the indicated value may be 0 or 99 depending on the SIM card. If the GSM is not powered on, the indicated value will be 1.
Input: None.
Returns: SINT (0..7, 99) Bit Error Rate (0..7).
Declaration: FUNCTION gsmBER : SINT;
Example: INCLUDE rtcu.inc |