Git Product home page Git Product logo

ios-nordic-thingy's Introduction

Version Carthage compatible

Nordic Thingy:52 SDK for iOS

IoT Sensor Kit

Compact multi-sensor prototyping platform

The Nordic Thingy:52™ is an easy-to-use prototyping platform, designed to help in building prototypes and demos, without the need to build hardware or even write firmware. It is built around the nRF52832 Bluetooth 5 SoC.

All sensors and actuators can be configured over-the-air using Bluetooth Low Energy. It makes it possible to create demos and prototypes without starting from scratch. It connects to Bluetooth LE-enabled smart phones, tablets, laptops and similar devices, and it sends/receives data from/to its sensors/actuators to an app or cloud. It includes an NFC antenna, and has 1 button and 1 RGB LED that simplifies input and output.

Read more: https://www.nordicsemi.com/Software-and-Tools/Development-Kits/Nordic-Thingy-52

SDK and Sample application for iOS

This reposotory provides a library and a sample app for iOS that can be used to configure and use your Thingy:52 device.

The sample app may also be downloaded from iTunes: https://itunes.apple.com/us/app/nordic-thingy/id1187887000?mt=8

Installation

For Cocoapods(Swift):

  • Create/Update your Podfile with the following contents
target 'YourAppTargetName' do
    use_frameworks!
    pod 'IOSThingyLibrary', '~> 1.5.0'
end
  • Install dependencies
pod install
  • Open the newly created .xcworkspace
  • Import the library to any of your classes by using import IOSThingyLibrary and begin working on your project

For Carthage:

  • Create a new Cartfile in your project's root with the following contents
github "NordicSemiconductor/IOS-Nordic-Thingy" ~> 1.5.0
  • Build with carthage
carthage update --platform iOS
  • Carthage will build the IOSThingyLibrary.framework, iOSDFULibrary.framework and Zip.framework files in Carthag/Build/, you may now copy all those files to your project and use the library, additionally, carthage also builds *.dsym files if you need to resymbolicate crash logs. you may want to keep those files bundled with your builds for future use.

Trying with the example app

This library comes with a very powerful opensource example app that you may download on the app store or try it directly using cocoapods, to try the Thingy App right now, go to your favorite terminal and type:

pod try IOSThingyLibrary

Xcode will launch with the example app, simply build and run!


Requirements

Note: This Library is built with Swift 5.1, even though Obj-C is compatible out of the box, we prefer to put all our focus forward into Swift 5 and above.

  • Nordic Thingy:52
  • Xcode: Xcode 11 and above support Swift 5
  • iOS 9.0 and above
    • iPhone compatibility:
      • iPhone 4s and above
    • iPad compatibility:
      • 3rd generation iPad and above
      • iPad Mini and above
      • iPad Air and above
      • iPad pro
    • iPod compatibility:
      • 5th Generation iPod and above

ios-nordic-thingy's People

Contributors

dinesharjani avatar martihag avatar mostafaberg avatar philips77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ios-nordic-thingy's Issues

README Carthage instructions error

The following line does not work:

github "NordicSemiconductor/NordicSemiconductor/IOS-Nordic-Thingy" ~> 1.5.0

Should probably be:

github "NordicSemiconductor/IOS-Nordic-Thingy" ~> 1.5.0

Pod File for MacOSCatalina V 10.15.7

If you have trouble with MacOS Catalina V 10.15.7 cocoa pods try using:
brew install cocoapods --build-from-source

To install the right version. I had many errors trying to use:
sudo gem install -n /usr/local/bin cocoapods

Or the method in the cocoapods site for installation.

Calibration Mode For Nordic Thingy

The Nordic Thingy uses a CCS 811 chip to measure CO2 & TVOC. In the CCS 811 documentation, it says the CO2 & TVOC sensors require a 48 hour period until the sensors output accurate values. Would it be possible to develop a calibration mode where the Thingy remains on for the first 48 hours when first connected to a smartphone to ensure that the CO2 & TVOC output correct values? It would be useful if the Thingy would remain on during this period even if the connection to the smartphone is lost (for example if the smartphone runs out of charge during this 48 hour period). See this case for more information.

Question

I have cloned this repo and am currently trying to build it with the latest tools (Version 11.2.1 (11B500)). I am using a personal account, but when I try to compile the example, it reports:

Build target ThingySDK_Example of project ThingySDK with configuration Debug
error: Your development team, "James Flynn", does not support the Near Field Communication Tag Reading capability. (in target 'ThingySDK_Example' from project 'ThingySDK')
error: No profiles for 'home.jflynn129.debug.IDRM' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'home.jflynn129.debug.IDRM'. (in target 'ThingySDK_Example' from project 'ThingySDK')

I have verified that the info.plist contains an entry for 'Privacy - NFC Scan Usage Description' so the capability should be present. What could be causing this issue? Will you be updating the example to use the latest tools so that the warning are eliminated when building?

At this point, all I am trying to do is build the example application unchanged (except for the Team & Bundle Identifier) and am new to iOS App development. Can you comment on the above question and/or provide a description of how to compile the application using the latest tools.

Thanks!

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.