Skip to content

BinduRao2018/device-grove-c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Device Grove Service

About

The EdgeX Device Grove Service is developed to control/communicate Grove sensors connected on Grove PI in an EdgeX deployment

Supported Boards:

Raspberry PI 3+ - ARM64 bit

Dependencies:

The Device Grove service based on device-c-sdk is developed using libmraa - a low level library that communicates with the Raspberry PI board. The repository can be found on git at libmraa.

Build Instruction:

  1. Check out device-grove-c available at device-grove-c

  2. Build a docker image by using the following command

sh> cd device-grove-c
sh> docker build . -t < device-grove-c > -f ./scripts/Dockerfile.alpine-3.9

This command shall build the dependencies - libmraa and device-c-sdk library to build device-grove-c release image. By default, the configuration and profile file used by the service are available in 'res' folder.

Configuration for docker image

  1. Port number specified in the configuration.toml
  2. --device=/dev/ < i2c-device > to map host device to the container. For Raspberry PI, it is i2c-1.

Note: On Raspberry PI, make sure that i2c_arm=on is set. This enables i2c-1 device, required for communication between Grove PI & Raspberry PI boards.

Packages

No packages published

Languages

  • C 72.0%
  • Lua 22.1%
  • Shell 2.3%
  • CMake 1.9%
  • Roff 1.1%
  • Makefile 0.6%