This script UC96_logger reads the Bluetooth data from the
- USB Digital Tester
- model J7-c
- produced by SJAMING
that appears as a Bluetooth gadget as UC96_SPP.
The script is in Python, and it should run fine in a GNU/Linux operating system.
This script UC96_logger reads the Bluetooth data from the
that appears as a Bluetooth gadget as UC96_SPP.
The script is in Python, and it should run fine in a GNU/Linux operating system.
Two Python classes that rotate log files and compress them
| #!/bin/bash | |
| # Script used to debug sub-processes launched via sys.executable | |
| # We replace sys.executable with this script, which inserts code | |
| # that starts debugging before the users's module is invoked. | |
| # The command line contains the file name to debug and its arguments | |
| # The debugger is configured using the following envs: | |
| # |
| obj-m := nct6775-core.o | |
| nct6775-objs := nct6775-platform.o | |
| obj-$(CONFIG_SENSORS_NCT6775) += nct6775.o | |
| ## this is not currently compiled | |
| #obj-$(CONFIG_SENSORS_NCT6775_I2C) += nct6775-i2c.o |
rsyslog can send logs to a remote server, encrypted with TLS (to avoid tampering and MIM attacks);
but generating certificates can be difficult; enters letsencrypt to save the day.
Currently the module imtcp seems to have a bug [1] so we use relp
We assume Ubuntu or Debian below. All commands are to be done as root, or using sudo