These are my blogs

and also my life

Ebyte e32 Lora Module - Client Socket Examples

2021-07-23 hardware lora wireless ebyte-e32-lora

This post currently has a example client in Python that sends information through Unix Domain Sockets when the e32 is running as a service. Adding ... Read More

Ebyte e32 Lora Module - Wiring and Configuring the Rasberry Pi

2021-07-18 hardware lora wireless ebyte-e32-lora

This post explains how to wire up the UART and the mode pins. We need 5 connections between the Raspberry Pi and EByte E32, as well as a power and a ... Read More

Ebyte E32 Lora Module - systemd service

2021-06-18 hardware lora wireless ebyte-e32-lora

The e32 program is intended to be run as a service in the backround with communication through sockets. This way you can write software in any ... Read More

Ebyte E32 Lora Module - Transfer Files

2021-06-18 hardware lora wireless ebyte-e32-lora

This post explains how to transfer files over Lora using the e32 program. See getting started for the background. Prerequisites We must first assume ... Read More

Stack Protection with a Canary

2021-06-11 c arm assembly

Buffer overflows can be detected by inserting a canary into a function. These canaries are inserted when a function’s stack frame is created. ... Read More

Ebyte e32 - Sockets

2021-06-08 hardware lora wireless ebyte-e32-lora

The e32 program can run as a daemon and listen on Unix Domain Sockets for data to transmit and receive. This post documents the functionality of the ... Read More

Finding Libriaries and Headers for C Programs in Unix

2021-05-27 c

Need to list the installed libraries on a Unix system? Want to use a library in C and don’t know the linker flags to use? Need to find where ... Read More

Using libgpiod to detect input events

2021-05-17 hardware gpio

One of the most fundamental requirements for GPIO is the ability to execute user defined code when an external event has happened. This is typically ... Read More

GPIO Input with libgpiod

2021-05-10 hardware raspberry-pi

We can use the libgpiod library to configure a GPIO line as input and read it’s value. We’ll create a switch circuit so we can test the ... Read More

Blinking and LED with libgpiod

2021-05-03 hardware raspberry-pi

In the previous post we introduced libgpiod. In this post we’ll use the command line tools to blink and LED. Finally, we’ll write some C ... Read More