ESTMeshGateway

@interface ESTMeshGateway : NSObject

Responsible for two way communication between Mesh network and Cloud. ESTMeshGateway serves two purposes:

  • listen for Mesh packets and send confirmations to Estimote Cloud,
  • periodically fetch pending Mesh buffers for user’s Mesh networks and apply them. Note that ESTMeshGateway requires appID and appToken (), which you can obtain via www.cloud.estimote.com See: + (void)setupAppID:(NSString *)appID andAppToken:(NSString *)appToken
  • Delegate’s object.

    Declaration

    Objective-C

    @property (nonatomic, weak, readwrite)
        id<ESTMeshGatewayDelegate> _Nullable delegate;

    Swift

    weak var delegate: ESTMeshGatewayDelegate? { get set }
  • Triggers applying newest Mesh buffers to nearest devices, and confirming ranged Mesh packets to Cloud.

    Declaration

    Objective-C

    - (void)start;

    Swift

    func start()
  • Stops both confirming Mesh packets to the Cloud, and applying pending Mesh buffers.

    Declaration

    Objective-C

    - (void)stop;

    Swift

    func stop()