From d07cd468d69514a1b1ea9a7e7f2f158f81e581e9 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 21 Mar 2018 11:54:03 +0100 Subject: [PATCH] pkg: add support for Cayenne LPP format --- pkg/cayenne-lpp/Makefile | 11 +++++++++++ pkg/cayenne-lpp/Makefile.cayenne-lpp | 3 +++ pkg/cayenne-lpp/Makefile.include | 1 + pkg/cayenne-lpp/doc.txt | 14 ++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 pkg/cayenne-lpp/Makefile create mode 100644 pkg/cayenne-lpp/Makefile.cayenne-lpp create mode 100644 pkg/cayenne-lpp/Makefile.include create mode 100644 pkg/cayenne-lpp/doc.txt diff --git a/pkg/cayenne-lpp/Makefile b/pkg/cayenne-lpp/Makefile new file mode 100644 index 0000000000000..43277125e2353 --- /dev/null +++ b/pkg/cayenne-lpp/Makefile @@ -0,0 +1,11 @@ +PKG_NAME=cayenne-lpp +PKG_URL=https://github.com/aabadie/cayenne-lpp +PKG_VERSION=a418dbe186b2535edfb67896da8cf00b94735470 +PKG_LICENSE=LGPLv2.1 + +.PHONY: all + +all: git-download + "$(MAKE)" -C $(PKG_BUILDDIR) -f $(CURDIR)/Makefile.$(PKG_NAME) + +include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/cayenne-lpp/Makefile.cayenne-lpp b/pkg/cayenne-lpp/Makefile.cayenne-lpp new file mode 100644 index 0000000000000..b82392d76cf46 --- /dev/null +++ b/pkg/cayenne-lpp/Makefile.cayenne-lpp @@ -0,0 +1,3 @@ +MODULE = cayenne-lpp + +include $(RIOTBASE)/Makefile.base diff --git a/pkg/cayenne-lpp/Makefile.include b/pkg/cayenne-lpp/Makefile.include new file mode 100644 index 0000000000000..821c8bbd8caaf --- /dev/null +++ b/pkg/cayenne-lpp/Makefile.include @@ -0,0 +1 @@ +INCLUDES += -I$(PKGDIRBASE)/cayenne-lpp diff --git a/pkg/cayenne-lpp/doc.txt b/pkg/cayenne-lpp/doc.txt new file mode 100644 index 0000000000000..4420b5d20dd32 --- /dev/null +++ b/pkg/cayenne-lpp/doc.txt @@ -0,0 +1,14 @@ +/** + * @defgroup pkg_cayenne-lpp Cayenne Low Power Payload (LPP) + * @ingroup pkg + * @ingroup sys + * @brief Provides a RIOT support for Cayenne LPP format + * + * The Cayenne Low Power Payload (LPP) provides a convenient and easy way to + * send data over LPWAN networks such as LoRaWAN. + * + * For more details on the format, see + * https://mydevices.com/cayenne/docs_stage/lora/#lora-cayenne-low-power-payload + * + * @see https://github.com/aabadie/cayenne-lpp + */