Code Monkey home page Code Monkey logo

skalekit's Introduction

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, [email protected]

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) 2021年 Atomax Inc. All rights reserved.

Any feedback is welcomed, please send feekback to [email protected] or facebook

skalekit's People

Contributors

ryanyc avatar

Stargazers

Andri Mar Jónsson avatar cakefile avatar Heisenberg avatar Nikola Markovic avatar Martijn de Geus avatar  avatar  avatar wov avatar Jakub Mazur avatar mosu avatar  avatar  avatar  avatar Retso Huang avatar Walter Skyrim avatar  avatar

Watchers

 avatar mosu avatar Jakub Mazur avatar  avatar Atomax Inc. avatar  avatar

skalekit's Issues

Question: Ble Characteristic For Tare?

Hi - I know this is not an iOS SkaleKit specific question, but I'm interested in using a pre-existing BLE Library in an Ionic app to control a Skale so it will be cross-platform. Any chance you can share the BLE characteristic & command to tare a Skale over BLE?

Thanks!

Error while exporting an Ad Hoc build

When I export a build, I'm getting an error like:

Failed to verify bitcode in SkaleKit.framework/SkaleKit:
error: Bundle only contains bitcode-marker .../SkaleKit.framework/Skale.Kit (armv7)

Happens on Xcode 9.2 and 9.4.1

Tare and other functions

Hi @RyanYC . This is a fantastic idea! I'm working on a project that would require a scale integration like this. Is this SDK still being actively supported? If so, do you have plans to release further functionality like a Tare command?

Thanks!
Adam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.