AferoSofthub 1.4.5 - Consumer Default, Notification Cleanup
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 containuserInfo
dicts withdeviceId
, 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
andAferoSofthubWifiState
values ([NSString stringWithWifiSetupCommandState:]
and[NSString stringWithWifiSetupState]
, respectively.
Resolved:
- Releases
1.4.3
and1.4.4
defaulted to starting the softhub inENTERPRISE
mode. Release1.4.5
defaults this toCONSUMER
(the standard mode). To useENTERPRISE
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;