Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
Pod
 
 
 
 
 
 
 
 
 
 

README.md

SkaleKit

CI Status Version License Platform

Usage

SkaleKit is a wrapper for accessing Skale BuletoothLowEnergy electric scale. We use CoreBluetooth framework to access Skale. Via SkaleKit, developers can easily read weight from physical scale and do what you want with that data.

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • CoreBluetooth.framework

Installation

SkaleKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SkaleKit"

##Get Started

####Initialize Initialize the instance of SKSKale class.

SKSkale *skale = [[SKSkale alloc] init];

####Assign Delegate

skale.delegate = self;

####Implement delegate methods

- (void)skaleDidConnected:(SKSkale *)skale
{

}

- (void)skaleDidDisconnected:(SKSkale *)skale
{
}

- (void)skale:(SKSkale *)skale DidErrorOccur:(NSError *)error
{

}

- (void)skaleWeightDidUpdate:(Float32)weight
{

}

##Example

In SkaleKit project, we demostrate you a simple sample code to access the weight data. You will see how we get the data then display on the screen.

Author

Ryan, ryan@atomaxinc.com

License

SkaleKit is available under the MIT license. See the LICENSE file for more info.

##Additional Notes

Created by Ryan Chen, engineer at Atomax, on 16/07/09.

Copyright (c) 2016年 Atomax Inc. All rights reserved.

Any feedback is welcomed, please send feekback to service@atomaxinc.com or facebook

About

No description, website, or topics provided.

Resources

License

Packages

No packages published
You can’t perform that action at this time.