This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/LAUNCHXL-CC26X2R1: Z-Stack Linux Gateway on RPi3 model B+ and LAUNCHXL-CC26X2R1 as ZNP coordinator

Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: Z-STACK

Tool/software: Linux

Dear all,

I'm try to setup the Linux Gateway on a RPi3 model B+ and using the LAUNCHXL-CC26X2R1 as ZNP coordinator, I've read some post over the forum but I need some starting point in order to go straigght and understand precisely all the details.

As a first step I'm start from the:

Z-Stack Linux Gateway - Quick Start Guide

so I've did the very first step:

- sudo apt-get update

- sudo apt-get upgrade

-sudo apt-get install psmisc

- sudo apt-get install dos2unix

Then I'm try to install also the protobuf compiler:

  • sudo apt-get install autoconf automake libtool curl make g++ unzip
  • apt-get install protobuf-c-compiler
  • git clone github.com/.../protobuf.git
  • cd protobuf
  • ./autogen.sh
  • ./configure
  • make
  • make check
  • sudo make install
  • sudo ldconfig # refresh shared library cache.

but every time this fails with error :

dpkg: unrecoverable fatal error, aborting:
 files list file for package 'apt' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

at the moment by means of the classical apt-get is not possible to install it, so download the protobuf-cpp-3.8.0.tar.gz from the site and then perform a manual compile from source, it take approx 2h but it work without problem.

download the source file from https://github.com/protocolbuffers/protobuf/releases

protobuf-cpp-3.8.0.tar.gz

into a RPi folder (e.g. /home/pi)

unpack it with:

tar -xvzf protobuf-cpp-3.8.0.tar.gz

then:

cd protobuf-3.8.0

./configure

make

sudo make install

sudo ldconfig

to test if properly installed follow the example tutorial at this link: https://developers.google.com/protocol-buffers/docs/tutorials

pick the one you prefer and follow the tutorial.

The next step is how to install the Linux gateway on RPi3 model B+ with Raspbian GNU/Linux 9 (stretch) 32 bit operating system and know if someone have succesfully did it.

To get the source to install one way is to install the Zigbee_3_0_Linux_Gateway_1_0_1.exe file on a Windows machine, then by a FTP tool (WinSCP) trasfer the source code to the RPi, now the question is if someone have tested it and if exist some port from BBB to the RPi3.

Thank!