device/index.js
function _markConnectionStable() {
      currentReconnectTimeMs = baseReconnectTimeMs;
      device.options.reconnectPeriod = currentReconnectTimeMs;
      //
      // Mark this timeout as expired
      //
      connectionTimer = null;
      connectionState = 'stable';
   }
function _markConnectionStable() {
      currentReconnectTimeMs = baseReconnectTimeMs;
      device.options.reconnectPeriod = currentReconnectTimeMs;
      //
      // Mark this timeout as expired
      //
      connectionTimer = null;
      connectionState = 'stable';
   }
function _markConnectionStable ( ) { currentReconnectTimeMs = baseReconnectTimeMs ; device . options . reconnectPeriod = currentReconnectTimeMs ; // // Mark this timeout as expired // connectionTimer = null ; connectionState = 'stable' ; }
Timeout expiry function for the connection timer; once a connection is stable, reset the current reconnection time to the base value.
Timeout expiry function for the connection timer ; once a connection is stable reset the current reconnection time to the base value .