I build reliable systems, from cloud to device.

SRE · DevOps · Software Architecture · IoT

I'm Diego Cornejo. I design and run cloud infrastructure and SaaS platforms for telecom and connected device environments, and I work down at the protocol level: LoRaWAN integrations, binary payload decoding and device telemetry.

Terminal demo: a LoRaWAN uplink is decoded into sensor telemetry, a low battery alert turns out to be caused by the cold, and a temperature compensated threshold is committed and deployed.

What I do

Most of my work lives between the device and the cloud: getting data off the radio, making sense of it and running the platforms that depend on it. I build in the open and share what I learn.

IoT & protocol engineering

LoRa and LoRaWAN integrations, binary payload decoding, protocol analysis, telemetry processing and device communication for IoT platforms.

// The Things Stack uplink formatter (Cayenne LPP subset)
function decodeUplink({ bytes }) {
  const data = {};
  const int16 = (i) => (bytes[i] << 24 >> 16) | bytes[i + 1];

  for (let i = 0; i < bytes.length; ) {
    const channel = bytes[i++];
    const type = bytes[i++];

    if (type === 0x67) { data.temperature = int16(i) / 10; i += 2; }
    else if (type === 0x68) { data.humidity = bytes[i++] / 2; }
    else if (type === 0x02) { data.battery_v = int16(i) / 100; i += 2; }
    else return { errors: [`unknown type ${type} on channel ${channel}`] };
  }

  return { data };
}

// 01 67 FF D8 03 02 01 36  →  { temperature: -4, battery_v: 3.1 }
  • LoRa
  • LoRaWAN
  • The Things Stack
  • Payload Decoding
  • Protocol Analysis

Open source

SaaS & telecom platforms

Designing and operating SaaS platforms, integrations and systems for telecom and connected device environments: APIs, distributed systems and the web applications on top, including LLM features like RAG and agents inside real products.

  • Node.js
  • TypeScript
  • Python
  • React
  • PostgreSQL
  • Redis

Cloud, SRE & networking

Architecture on AWS, Azure and Oracle Cloud, edge deployments with Vercel and Cloudflare, containers and infrastructure automation. Reliability engineering, monitoring and incident analysis, plus the network and security underneath: routing, VPNs, reverse tunnels, firewalls, DNS and authentication.

  • AWS
  • Azure
  • Oracle Cloud
  • Kubernetes
  • Terraform
  • Prometheus

Get in touch

I take on consulting and freelance work: IoT and LoRaWAN integrations, telecom SaaS platforms and cloud infrastructure.