Class: $.BurstStatistics

Inherits:
Toybox.Lang.Object show all

Overview

Keeps track of the number of successful / failed receptions and transmissions

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _rxFailCount as Lang.Number

var _rxSuccessCount as Lang.Number

var _txFailCount as Lang.Number

var _txSuccessCount as Lang.Number

Instance Method Details

getRxFailCount() as Lang.Number

Get the count of reception fails

Returns:

  • Number of reception fails

getRxSuccessCount() as Lang.Number

Get the count of reception successes

Returns:

  • Number of reception successes

getTxFailCount() as Lang.Number

Get the count of transmission fails

Returns:

  • Number of transmission fails

getTxSuccessCount() as Lang.Number

Get the count of transmission successes

Returns:

  • Number of transmission successes

initialize()

Constructor

onRxFail() as Void

Update the count when a receive fails

onRxSuccess() as Void

Update the count when a receive succeeds

onTxFail() as Void

Update the count when a transmission fails

onTxSuccess() as Void

Update the count when a transmission succeeds


Generated Jun 9, 2026, 8:45:42 AM