Skip to content

grchibi/ble-cts-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

ble-cts-docker

Build blects

Before building the software, edit config.yaml. In the build process the config file is needed and copied to docker image.

Then, edit DOCKER/Dockerfile.CPL and DOCKER/Dockerfile to specify the base image.

  • FROM arm32v7/alpine:3.12 => for Raspberry Pi 4

Finish editing the Dockerfile, execute the following command.

$ docker build -t alpine-dev -f DOCKER/Dockerfile.CPL .

$ docker run --name cppdev -v "$PWD":/home -it alpine-dev
/ $ cd home; make build

Register to Systemd

$ cp -a ble-cts-central.service /etc/systemd/system/
$ systemctl enable ble-cts-periph

Check the logs

$ docker logs ble-cts-docker_periph_1 -f

You can view the journal logs, too.

$ journalctl -u ble-cts-periph.service --no-pager --since="2023-01-27 18:00:00"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published