You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This post helped me a lot. Thanks. I was able to run the sample with real BME280. But also I had to use "apt-get install uuid-dev" because of an error "'uuid/uuid.h file not found" during sdk compilcation.
Not an issue.
But hopefully a helping hand
Got this running with PI zero and latest "Raspberry PI OS"
Here are my steps
Raspberry PI OS Full (32-bit)
Use 8GB 10x MicroSD Card
SSH.
wpa_supplicant.conf
instructions here: https://www.tomshardware.com/reviews/raspberry-pi-headless-setup-how-to,6028.html
download: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
address: raspberrypi.local
uid: pi
pwd: raspberry
sudo raspi-config
Interfacting Options
P3 VNC
sudo apt-get install cmake
sudo apt-get install git-core
sudo apt-get purge -y libssl-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libssl-dev
sudo apt-get update
sudo apt-get upgrade
sudo reboot
download: https://realvnc.com/en/connect/download/viewer/windows/
address: raspberrypi.local
uid: pi
pwd: raspberry
address: raspberrypi.local
uid: pi
pwd: new password
cd ~
mkdir Source
cd Source
git clone --recursive https://github.com/azure/azure-iot-sdk-c.git
cd azure-iot-sdk-c/build_all/linux
./build.sh --no-make
cd ../../cmake/iotsdk_linux
make
sudo make install
'
cd ~
git clone https://github.com/Azure-Samples/iot-hub-c-raspberrypi-client-app.git
cd ./iot-hub-c-raspberrypi-client-app
sudo apt-get install wiringpi
git clone https://github.com/kgabis/parson.git
cd ./parson
mv parson.c parson.h ..
cd ..
rm -rf parson
sed -i 's/#define SIMULATED_DATA 0/#define SIMULATED_DATA 1/' config.h
cmake . && make
sudo ./app 'DEVICE CONNECTION STRING'
The text was updated successfully, but these errors were encountered: