Skip to content

NhaTrang/Linux-Client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thinger Linux client is a library that allows connecting your Linux IoT devices to the thinger.io cloud platform, or even your private server deployment. This is a library specifically designed for the Linux Operating Systems, so you can easily connect devices like a Raspberry Pi, Intel Edison, Ubuntu, Mac, etc.

In progress

This library is currently being developed and should not be integrated in any production device until it is more mature and tested. The library interface may change as it evolve to a stable version. Some things that requires attention now are:

  • Document code
  • Provide more examples and use cases
  • Provide a proper guide for installing the client as a service and support more devices like beaglebone
  • Check the reconnection mechanism and its reliability
  • Handle signals for proper daemon shutdown
  • Support OTA updates?
  • Load credentials from external config files?
  • Distribute the code as library?

Quickstart

The simplest way to start using thinger.io platform in Linux is by modifying the src/main.cpp to add your username, device, and device credentials. Then you can type in your terminal ./run.sh, that will compile, start and run the thinger.io client.

Notes for compiling on Raspberry Pi

  • Check the compiler version and install a newer compiler if necessary. At least GCC 4.8.2.
  • Install CMake sudo apt-get install cmake
  • Install Open SSL Libraries (not required but useful for secured connection) sudo apt-get install libssl-dev

License

The class is licensed under the MIT License:

Copyright © 2015 THINGER LTD

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Library for connecting to the thinger.io cloud platform with Linux devices. Valid for Intel Edison, Raspberry, Ubuntu, Mac, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.1%
  • CMake 2.5%
  • C 1.8%
  • Shell 1.6%