@yoda/ota/condition

Methods

(inner) getAvailabilityOfOta(upgradeInfo) → {Promise.<(true|'low_power'|'extremely_low_power'|'new_version')>}

Parameters:
Name Type Description
upgradeInfo module:@yoda/ota~OtaInfo
Returns:
Type:
Promise<(true|'low_power'|'extremely_low_power'|'new_version')>