Skip to content

AferoSofthub 1.4.5 - Consumer Default, Notification Cleanup

Compare
Choose a tag to compare
@jrmiddle jrmiddle released this 16 May 21:43
· 43 commits to master since this release

New Features

  • OTA status notifications have been cleaned up; in swift, the valid names can be found in AferoSofthub.AferoSofthubNotificationName. Old names are still valid (but deprecated).

  • OTA progress notifications (name AferoSofthub.AferoSofthubNotificationName.OTAProgressUpdate) now contain userInfo dicts with deviceId, progress, state, and state desciption info.

NOTE: All OTA info from the softhub pertains to the local softhub only.

  • A category on NSString provides factory methods for producing string descriptions of AferoSofthubSetupWifiCommandState and AferoSofthubWifiState values ([NSString stringWithWifiSetupCommandState:] and [NSString stringWithWifiSetupState], respectively.

Resolved:

  • Releases 1.4.3 and 1.4.4 defaulted to starting the softhub in ENTERPRISE mode. Release 1.4.5 defaults this to CONSUMER (the standard mode). To use ENTERPRISE mode, invoke:
+ (void)startWithAccountId:(NSString *_Nonnull)accountId
                     cloud:(AferoService)cloud
               softhubType:(AferoSofthubType _Nullable)softhubType
                  logLevel:(AferoSofthubLogLevel)logLevel
        hardwareIdentifier:(NSString *_Nullable)hardwareIdentifier
        associationHandler:(AferoSofthubSecureHubAssociationHandler _Nonnull)associationHandler
         completionHandler:(AferoSofthubCompleteReasonHandler _Nonnull)completionHandler;