<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sivakumar Palanikumar on Medium]]></title>
        <description><![CDATA[Stories by Sivakumar Palanikumar on Medium]]></description>
        <link>https://medium.com/@pksivakumar2000?source=rss-8593bf4715a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*NC1qCFeSB-BrWDZi</url>
            <title>Stories by Sivakumar Palanikumar on Medium</title>
            <link>https://medium.com/@pksivakumar2000?source=rss-8593bf4715a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:39:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pksivakumar2000/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Smartphone Battery to Private Cloud]]></title>
            <link>https://medium.com/@pksivakumar2000/from-smartphone-battery-to-private-cloud-83b515bbfc86?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/83b515bbfc86</guid>
            <category><![CDATA[automotive-engineering]]></category>
            <category><![CDATA[openstack]]></category>
            <category><![CDATA[telecommunication]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Wed, 02 Dec 2026 10:31:01 GMT</pubDate>
            <atom:updated>2026-12-02T10:31:01.732Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“Eventually everything connects — people, ideas, objects. The quality of the connections is the key to quality per se.”</em></p><p><strong>Charles Eames — Legendary industrial designer</strong></p><h3><strong>How I built DevicePulse Studio: an Android Battery diagnostics, private cloud observability and a small infrastructure automation platform on a single laptop.</strong></h3><p>What happens when a physical smartphone’s batery becomes an experimental endpoint for a private cloud? I wanted to explore that question beyond a dashboard mock-up. While exploring OpenStack, I decided to develop a mini-project that would allow me to inspect an actual device, trace its network traffic, persist its measurements, understand the virtual infrastructure hosting the application, and trigger cloud operations directly from the application itself.</p><p>The result is DevicePulse Studio V6, a personal engineering proof of concept built on a 16 GB laptop. It combines a real Android handset, three virtual servers and twelve OpenStack service integrations. The experiment connects disciplines that are often taught or operated separately: mobile systems, telecommunications, networking, software engineering, virtualization, security and cloud operations.</p><h3>01 / Building the private cloud</h3><p>The host was an HP ZBook Power G10 running Windows 11, with an imported Ubuntu 24.04 LTS WSL2 distribution named OpenStack-Lab. I allocated a 10 GB WSL memory limit, eight CPUs and 4 GB swap. The OpenStack baseline was 2025.2 Flamingo, using DevStack and stable/2025.2 source branches. This is a development cloud, not a production deployment.</p><p>QEMU/libvirt provided guest virtualization, while Open vSwitch 3.3.9 implemented virtual switching. Three Ubuntu guests used a one-vCPU, 1 GB RAM, 10 GB disk flavor; a fourth lightweight CirrOS test guest was shut off at final inspection. The three active guests separated presentation, application processing and persistence.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2bTo_V8qjlNr5FXH0h7Qdg.png" /><figcaption>Smartphone Battery DevicePulse Mini Project System Architecture</figcaption></figure><h3><strong>02 / A real three-tier application</strong></h3><p>DevicePulse began as a local Android workbench and evolved into a distributed application. The frontend uses Nginx, HTML, CSS, JavaScript and Chart.js 4.4.8. FastAPI and Uvicorn provide the application API, with OpenStack SDK 4.25.0 and ADB running on the backend. PostgreSQL 16 stores device samples as JSONB records in dp_samples. The frontend VM is 10.254.1.40, backend 10.254.1.11 and database 10.254.1.20. The private subnet is 10.254.1.0/26; the external network is 192.168.240.0/24, with frontend floating IP 192.168.240.40. Nginx forwards HTTP to port 8018; the backend connects to PostgreSQL on 5432. Local SSH tunnels expose the web workspace on 8089 and the restricted Heat console on 8090. Internal HTTP is not end-to-end HTTPS</p><p>Coming from an AWS Cloud background, I would recommend exploring my OpenStack learning notes and plug-and-play code toolkit to better understand, reproduce and further develop this PoC.</p><p><a href="https://github.com/sivakumarpalanikumar/Smartphone-Battery-DevicePulse-OpenStack-Private-Cloud-Learning/blob/main/OpenStack_Engineering_Handbook.pdf">https://github.com/sivakumarpalanikumar/Smartphone-Battery-DevicePulse-OpenStack-Private-Cloud-Learning/blob/main/OpenStack_Engineering_Handbook.pdf</a></p><h3><strong>03 / The physical device is the experiment</strong></h3><p>Wireless Android Debug Bridge became the acquisition channel after USB passthrough difficulties. With authorized pairing, the backend can inspect Android properties, dumpsys output and Linux resource information without requiring a custom APK or root access for the demonstrated readings. This is a diagnostic interface, not unrestricted access to modem firmware or hardware registers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P6ednv9qQCMa6zm_Nb7u1A.png" /><figcaption><strong>DevicePulse Firmware Page of my Mobile Phone for Recalls and Diagnostics Over the Air</strong></figcaption></figure><p>The handset reported Android 14, a MediaTek MT6893 platform and a Linux 4.19.191+ kernel. The sample was connected, non-stale and approximately 14.61 seconds old. A later database checkpoint showed 19 stored samples. These are individual observations, not population statistics or calibrated laboratory measurements. The telecom view is especially interesting: RSRP measures reference signal power, RSRQ reflects reference signal quality, and CQI is a reported channel-quality indicator. Missing 5G data, battery state of health, cycle count and uncertain current units must remain unknown. Sensor inventory is not live sensor streaming; firmware changes do not establish OTA provenance.</p><h3><strong>04 / Making the cloud observable</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSkbQPxZkYejEGY9avF8Ew.png" /><figcaption><strong>Openstack Nova Component Dashboard</strong></figcaption></figure><p>The application uses a dedicated observer identity to query service APIs across explicitly assigned project scopes. Nova and Neutron expose compute and network inventory; Glance, Cinder and Swift expose storage-related resources; Keystone supplies the catalog; Placement exposes resource providers; Barbican returns secret metadata, not secret contents. An empty secret list is a valid result, not evidence of a tested secret lifecycle. Ceilometer is different: it is a collection service, not a conventional catalog API in this lab. I added a host-level systemd publisher that writes timestamped health data to the backend over SSH. Both polling and notification agents were observed active with zero restarts at one checkpoint. Stale publisher data is marked accordingly. The most concrete cloud telemetry experiment followed a Cinder volume.size metric through Ceilometer into Gnocchi and Aodh. Gnocchi returned twelve five-minute mean measurements of 1.0 GB in a recorded one-hour query. Aodh evaluated a 0.5 GB threshold and entered alarm state</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZTV8d8nVECS-w4zKTcrh1A.png" /><figcaption><strong>Openstack Ceilometer and Openstack Gnocchi</strong></figcaption></figure><p>The 0.5 GB margin is arithmetic evidence of threshold crossing, not a performance gain. This metric represents provisioned capacity, not disk utilization. An earlier collection gap was observed.</p><p>The cloud metrics and handset samples are separate data paths. PostgreSQL stores Android samples; Gnocchi stores cloud measurements. They are brought together at the application interface, not merged into one telemetry database.</p><h3><strong>05 / From observation to action</strong></h3><p>I introduced a separate Heat automation project and dedicated member identity, rather than giving the observer administrator privileges. The application accepts a limited set of operations against a fixed validation stack. The console requires an operator token and is accessed through a separate SSH tunnel; the normal frontend proxy rejects the orchestration API path.</p><h3><strong>06 / A browser action becomes infrastructure</strong></h3><p>The Heat template creates an OS::Heat::RandomString resource. The application can create, update and delete this lightweight stack, and poll its status. The update changes the configured string length from 16 to 24. This proves the lifecycle control path without allocating another VM on an already constrained laptop.</p><p>The recorded application test reached CREATE_COMPLETE, UPDATE_COMPLETE and NOT_FOUND after deletion. A cross-project token request was rejected with HTTP 401. The finalization script also checked missing and invalid operator tokens, the blocked frontend route and unsupported actions before reaching the lifecycle test. A later observer authentication test raised an SDK exception, so the complete negative permission suite remains incomplete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0JORKEjVQ2ygsWIVlamQ2w.png" /><figcaption><strong>Openstack Heat Automation</strong></figcaption></figure><p>The distinction matters: Heat did not provision the existing three application VMs. The demonstrated template is a validation resource, not an automatic disaster-recovery or scaling system. Real environment templates are a logical next experiment.</p><h3><strong>07 / What the operating system reveals</strong></h3><p>Horizon shows instances and networks, but the CLI exposes the underlying mechanisms. Libvirt lists the three running guests and stopped test guest. Open vSwitch exposes br-int and br-ex, patch ports and TAP interfaces. One TAP interface reported a missing device; its association with the stopped guest was not established. RabbitMQ queues, systemd services and OpenFlow rules offer further inspection of distributed control and packet forwarding.</p><p>The application path is equally inspectable: HTTP on 8018 between web and API tiers, SQL on 5432 between backend and database, and wireless ADB from the backend to the handset. Packet capture can demonstrate this path, provided the capture interface sees the switched traffic. I treat packet capture as a suggested demonstration, not a recorded benchmark.</p><h3><strong>08 / The engineering work behind the demo</strong></h3><p>The difficult part was not drawing the architecture. It was recovering it when assumptions failed. A DevStack rerun regenerated Keystone project identities while existing resources retained their original ownership. I recovered the missing project identifiers and role assignments rather than rebuilding the application VMs. This taught me that identity state is part of infrastructure state.</p><p>Horizon required Apache and WSGI configuration repair. After reboot, the external bridge address and NAT/forwarding rules had to be restored. Cinder required LVM backing, rootwrap filters and writable state directories. Swift needed storage rings, memcached and corrected Keystone endpoint configuration. Gnocchi and Aodh worker counts were constrained to fit memory.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gPp9zsMlHvl2wjfdBHx8IA.png" /><figcaption><strong>Openstack Cinder</strong></figcaption></figure><p>At the application layer, a missing Chart.js file initially returned the HTML fallback with HTTP 200. Checking the MIME type and actual asset fixed it. Wireless ADB port changes required reconnect logic. Reader access to Swift, Barbican and Placement needed policy adjustments; the Swift reader change applies more broadly than the single observer identity. Full least-privilege validation is still needed.</p><p>The failed custom Horizon panel was rolled back rather than risking the functioning console. This left a working native Heat dashboard and a standalone observability page. These are engineering decisions about recovery, isolation and operational risk, not just installation steps.</p><p>Feel free to use these resources as a reference for your own experiments and innovations, while respecting the originality of the work and giving appropriate credit rather than replicating it entirely.</p><h3><strong>09 / What the evidence supports</strong></h3><p>The experiment demonstrated three active application VMs, authorized handset acquisition, stored samples, twelve cloud integration categories, a metric-to-alarm path and an application-triggered Heat lifecycle. At one checkpoint WSL reported 9.7 GiB total memory, 8.6 GiB used and 1.1 GiB available. The backend later reported 961 MiB total and 575 MiB available. These snapshots demonstrate feasibility under resource constraints, not comparative efficiency.</p><h3><strong>10 / Why this matters across industries</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aB2s_J5v8viztLw6vKfWsw.png" /><figcaption><strong>Thermal analysis in battery forensics</strong></figcaption></figure><p>Through <strong>DevicePulse Studio V6</strong>, we explored real-world engineering concepts such as remote diagnostics, device telemetry, battery health monitoring, thermal sensing and wireless data acquisition. These align with the fundamental principles of <strong>connected vehicles, automotive telematics, embedded systems and condition-based maintenance</strong>, while providing a foundation for advanced capabilities such as OTA updates, digital twins and predictive maintenance.</p><p>From a <strong>telecommunications and networking perspective</strong>, we explored LTE radio measurements (RSSI, RSRP and RSRQ), wireless device communication, TCP/IP, NAT, software-defined networking and network virtualization. These align with industry principles of RF performance monitoring, network diagnostics, connected-device engineering and virtualized telecommunications infrastructure.</p><p>From a <strong>systems and cloud engineering perspective</strong>, we explored hardware–software integration, Linux system services, virtualization, distributed systems, private cloud orchestration, time-series analytics and threshold-based alarming. These collectively align with the engineering principles of <strong>Cyber-Physical Systems (CPS), Industrial IoT (IIoT), software-defined infrastructure and feedback-driven automation</strong>.</p><h3><strong>11 / Reproducibility is part of the result</strong></h3><p>I documented the deployment baseline and recovery process. The observed versions include Horizon 25.5.3.dev22, Heat Dashboard 14.0.0, Gnocchi 4.7.1 and OpenStack SDK 4.25.0. Exact repository commits must still be captured. A fresh installation creates new identities; an exact recovery needs the VM disks, backing storage, database and cloud state. An earlier WSL export was approximately 13.51 GiB, before the final additions. A final consistent capture and restoration test are still required before decommissioning. The recovery kit is not a self-contained cloud image until that capture is performed.</p><h3><strong>Closing thought</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jCycyWJcHrDDu-3Hzt4m5A.png" /><figcaption><strong>DevicePulse Diagnostic Page</strong></figcaption></figure><p>Every idea has a starting point. Sometimes, all it takes is curiosity, a little experimentation, and the willingness to turn a thought into something tangible.</p><p>Let’s make it the beginning of meaningful conversations and connections.</p><p>Looking forward to connecting with you all!</p><p>This SmartPhone Battery DevicePulse Studio was developed and validated on a private cloud environment deployed using OpenStack 2025.2 (Flamingo), provisioned through the official DevStack repository’s stable/2025.2 branch.</p><p>Below shall find the toolkit for this Product developed in this POC</p><p><a href="https://github.com/sivakumarpalanikumar/Smartphone-Battery-DevicePulse-OpenStack-Private-Cloud-Learning">https://github.com/sivakumarpalanikumar/Smartphone-Battery-DevicePulse-OpenStack-Private-Cloud-Learning</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83b515bbfc86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Vehicle Telemetry to AI-Powered Engineering: Building a Next-Generation Predictive Diagnostics…]]></title>
            <link>https://medium.com/@pksivakumar2000/from-vehicle-telemetry-to-ai-powered-engineering-building-a-next-generation-predictive-diagnostics-ff1a6afc8a38?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff1a6afc8a38</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[automotive-engineering]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[cloud-architecture]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-06-10T12:01:01.318Z</atom:updated>
            <content:encoded><![CDATA[<h3>From Vehicle Telemetry to AI-Powered Engineering: Building a Next-Generation Predictive Diagnostics Platform with MATLAB, NVIDIA NIM, Vault, OPA, Packer, Teleport, MongoDB, and Azure</h3><p><em>“Innovation distinguishes between a leader and a follower.”</em><br> — Steve Jobs</p><h3>Introduction</h3><p>What if a vehicle could tell us not only <strong>what happened</strong>, but also <strong>why it happened</strong>, <strong>what is likely to happen next</strong>, and <strong>what engineers should do before a failure occurs</strong>?</p><p>What if engineering systems could evolve beyond dashboards, alarms, and static reports into intelligent platforms capable of combining analytics, artificial intelligence, governance, security, and platform engineering into a unified decision-making framework?</p><p>That question inspired the development of a personal platform engineering project:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6i3vCMR9rjoqQjt1zg_T0w.png" /><figcaption>System Architecture</figcaption></figure><h3>Vehicle Telemetry &amp; Predictive Diagnostics Platform</h3><p>A next-generation engineering intelligence platform designed to transform raw telemetry data into actionable operational insights.</p><p>This project explores how modern engineering organizations can combine analytical computing, AI reasoning, cloud infrastructure, security controls, governance frameworks, and platform standardization to build systems that not only observe operational conditions but actively assist engineers in making better decisions.</p><h3>The Bigger Problem</h3><p>Across the automotive industry, industrial systems, aerospace platforms, manufacturing environments, robotics, and critical infrastructure, one challenge remains remarkably consistent:</p><h3>We collect enormous amounts of data.</h3><p>Modern engineering systems continuously generate:</p><ul><li>Sensor telemetry</li><li>Diagnostic logs</li><li>Thermal measurements</li><li>Battery statistics</li><li>Operational metrics</li><li>Event streams</li><li>Health indicators</li><li>Fault codes</li></ul><p>The challenge is no longer data collection.</p><p>The challenge is transforming information into intelligence.</p><p>Engineering teams routinely spend significant time answering questions such as:</p><ul><li>Is this behavior normal?</li><li>Is this an anomaly?</li><li>Is this an early warning sign?</li><li>What should be investigated next?</li><li>What is the most probable root cause?</li><li>What corrective action should be taken?</li></ul><p>The future belongs to systems that help answer these questions automatically.</p><h3>The Vision</h3><p>The objective was to create an engineering platform where telemetry data evolves into actionable intelligence through a structured and repeatable process.</p><p>Raw operational data is first analyzed using engineering models, enriched through AI-powered reasoning, validated through governance controls, secured through enterprise-grade security mechanisms, and ultimately delivered as actionable recommendations for engineers and operators.</p><p>The result is not simply a monitoring system, but an intelligent platform capable of supporting engineering decision-making at scale.</p><h3>The Operational Workflow</h3><p>The platform begins by collecting vehicle telemetry and processing it through MATLAB-based engineering analytics. These analytics generate a structured vehicle health intelligence report that is subsequently evaluated against governance policies enforced through OPA. After policy validation, Vault securely provides the credentials required for AI analysis through NVIDIA NIM. The resulting recommendations are stored in MongoDB, archived to Azure Blob Storage, and made available through secure, identity-aware access managed by Teleport.</p><p>This workflow ensures that intelligence generation remains secure, auditable, and operationally scalable</p><pre><br>.<br>├── matlab<br>├── nim<br>│   └── analyze-vehicle-intelligence-with-nim.sh<br>├── opa<br>│   ├── diagnostic-policy.rego<br>│   └── diagnostic-request.json<br>├── packer<br>│   └── vehicle-runtime.pkr.hcl<br>├── reports<br>│   ├── nim-analysis.json<br>│   ├── nim-analysis.txt<br>│   ├── vehicle_diagnostics_mongodb_dump.tar.gz<br>│   └── vehicle_intelligence_report.txt<br>├── run-demo.sh<br>├── teleport<br>│   └── secure-access-notes.md<br>└── vault<br></pre><h3>MATLAB: The Engineering Brain</h3><p>At the core of the platform is MATLAB.</p><p>MATLAB serves as the engineering analytics engine responsible for transforming raw telemetry into meaningful operational intelligence.</p><p>Instead of presenting engineers with isolated measurements such as:</p><pre>Temperature = 108°C<br>Battery Voltage = 11.9V<br>Brake Temperature = 350°C</pre><p>the platform derives higher-level engineering indicators:</p><ul><li>Thermal Stress Index</li><li>Brake Risk Index</li><li>Battery Health Score</li><li>Vehicle Health Score</li><li>Predictive Risk Classification</li></ul><p>The objective is to move from raw measurements to engineering understanding.</p><p>For example:</p><pre>Vehicle Health Score: 68/100<br>Risk Level: Medium<br>Thermal Condition: Elevated<br>Recommended Inspection: Within 72 Hours</pre><p>This is the language engineers, operations teams, and decision makers understand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xka9qFaurX9ZUE3Ap5dKkw.png" /><figcaption>MATLAB Engineering Analytics Dashboard</figcaption></figure><h3>NVIDIA NIM: From Analytics to Intelligence</h3><p>Analytics explains what happened.</p><p>Intelligence helps determine what should happen next.</p><p>This is where NVIDIA NIM becomes a critical component.</p><p>NVIDIA NIM acts as an AI-powered engineering reasoning layer capable of interpreting analytical outputs and generating contextual recommendations.</p><p>Given a MATLAB-generated report, NVIDIA NIM can provide:</p><ul><li>Risk summaries</li><li>Root cause hypotheses</li><li>Maintenance recommendations</li><li>Additional telemetry requirements</li><li>Operational guidance</li><li>Investigation priorities</li></ul><p>The objective is not to replace engineers.</p><p>The objective is to augment engineering expertise with AI-assisted decision support.</p><p>The most successful engineering organizations of the future will not be human-only systems.</p><p>They will be human-AI collaborative systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nz7W0bGzQ9I67K_7FIgsEQ.png" /><figcaption>AI Suggestion by Nvidia NIM</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QSRad_kwSJFerQa4Y7DmYw.png" /><figcaption>API Key created in Nvidia Nim</figcaption></figure><h3>OPA: Engineering Governance</h3><p>One of the most overlooked aspects of AI-enabled systems is governance.</p><p>Questions that organizations must answer include:</p><ul><li>Who can request diagnostics?</li><li>Which AI models are approved?</li><li>Which data classifications are permitted?</li><li>What operational controls must be enforced?</li></ul><p>Open Policy Agent (OPA) provides policy-driven governance for engineering workflows.</p><p>Governance becomes:</p><ul><li>Version controlled</li><li>Auditable</li><li>Repeatable</li><li>Scalable</li></ul><p>By treating governance as code, organizations can maintain consistency while accelerating innovation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2a84QqDKLv63mN9nsySThg.png" /><figcaption>Policy Validation with OPA</figcaption></figure><h3>Vault: Protecting What Matters</h3><p>As AI systems become increasingly mission-critical, security becomes non-negotiable.</p><p>API keys matter.</p><p>Credentials matter.</p><p>Access controls matter.</p><p>HashiCorp Vault provides secure storage and retrieval of sensitive information used throughout the platform.</p><p>Benefits include:</p><ul><li>No hardcoded secrets</li><li>Centralized credential management</li><li>Dynamic secret generation</li><li>Secure API authentication</li><li>Reduced operational risk</li></ul><p>Security becomes an integrated engineering capability rather than an afterthought.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_mvnkmYu1tcwsA6Va-cB8w.png" /><figcaption>vault kv get secret/nvidia/nim</figcaption></figure><h3>Packer and Docker: Standardization at Scale</h3><p>One of the most underestimated challenges in modern engineering environments is consistency.</p><p>Different environments often produce:</p><ul><li>Different behaviors</li><li>Different dependencies</li><li>Different outcomes</li></ul><p>Packer and Docker address this challenge through platform standardization.</p><p>Every engineering environment is built from the same trusted blueprint.</p><p>Whether running in:</p><ul><li>Development</li><li>Testing</li><li>Staging</li><li>Production</li></ul><p>the platform behaves consistently.</p><p>Repeatability is a foundational requirement for trustworthy engineering systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I9G63eHAHsSWFZrOGVpWUA.png" /><figcaption>vehicle-runtime.pkr.hcl file</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nTEiSt6p97Vvp8BwLo3t0Q.png" /><figcaption>Building Imge using Hashicorp Packer</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tgoQIg75zAoj-vXTpGNPkQ.png" /><figcaption>Sucessful Running of Image</figcaption></figure><h3>Azure: From Experiment to Operational Platform</h3><p>Many technical demonstrations stop once an AI result is generated.</p><p>Real engineering platforms do not.</p><p>Recommendations become valuable only when they can be securely stored, accessed, audited, and shared.</p><p>To demonstrate this capability, the platform was extended into Microsoft Azure.</p><p>An Ubuntu-based Azure Virtual Machine serves as the secure operational runtime environment.</p><p>The goal is straightforward:</p><p>Transform AI outputs into operational assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*APhenTjikRjOZCq3tvByPw.png" /><figcaption>Micrososft Azure Virtual Machine</figcaption></figure><h3>MongoDB: Building an Engineering Knowledge Repository</h3><p>Engineering recommendations should not disappear after they are generated.</p><p>They should become searchable organizational knowledge.</p><p>MongoDB serves as the operational diagnostics repository where AI-generated recommendations are stored as structured JSON documents.</p><p>Each record contains:</p><ul><li>Vehicle identifiers</li><li>Health scores</li><li>Risk classifications</li><li>AI recommendations</li><li>Diagnostic metadata</li><li>Timestamps</li></ul><p>Over time, this repository evolves into an engineering intelligence layer capable of supporting:</p><ul><li>Fleet-wide trend analysis</li><li>Reliability studies</li><li>Failure pattern identification</li><li>Predictive maintenance strategies</li></ul><p>The value is no longer a single recommendation.</p><p>The value becomes accumulated organizational knowledge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A0zhu80b7dkdt5bu5JEgkA.png" /><figcaption>Vehicle Report stored in Mongodb in Azure VM</figcaption></figure><h3>Azure Blob Storage: Long-Term Engineering Memory</h3><p>Operational databases solve one problem.</p><p>Long-term retention solves another.</p><p>Engineering organizations frequently require historical records for:</p><ul><li>Compliance</li><li>Auditing</li><li>Incident investigations</li><li>Knowledge retention</li><li>Research initiatives</li></ul><p>To support this capability, MongoDB diagnostic exports are archived into Azure Blob Storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Klhh1i7rbaVLMXGtXwqoOw.png" /><figcaption>Report Uploaded to Microsoft Azure Blob Container</figcaption></figure><h3>Teleport: Secure Engineering Access in Practice</h3><p>As engineering systems become increasingly distributed, access management becomes critically important.</p><p>Teleport provides secure, identity-aware access to infrastructure and operational resources.</p><p>Capabilities include:</p><ul><li>Centralized authentication</li><li>Session auditing</li><li>Access visibility</li><li>Secure file transfers</li><li>Identity-driven operations</li></ul><p>During implementation, Teleport was used to securely connect local engineering environments with Azure-hosted infrastructure and transfer diagnostic artifacts between environments.</p><p>Security becomes part of the workflow rather than a separate activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G0iUT7WHcW0625mOggyikA.png" /><figcaption>Connecting Local PC and Azure VM using Teleport without Pem key</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEiNB6g6nLt1sbAstC3G7A.png" /><figcaption>Teleport hosted in Azure VM</figcaption></figure><h3>Final Thoughts</h3><p>This project began as a vehicle diagnostics experiment but evolved into something much bigger.</p><p>By combining engineering analytics, AI reasoning, governance, security, cloud infrastructure, and platform engineering, it became a small glimpse into how future engineering systems may operate.</p><p>The future belongs to platforms that can transform data into intelligence, intelligence into decisions, and decisions into action.</p><p>And perhaps, this is only the beginning.</p><h3>Author’s Note</h3><p>Building this platform was not just about integrating technologies — it was about exploring how different disciplines can work together to solve real engineering challenges.</p><p>If this article inspires someone to learn, build, experiment, or think beyond traditional boundaries, then this project has already achieved its purpose.</p><p>Keep learning. Keep building. Keep innovating.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff1a6afc8a38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ From Music to Media Systems: Building a Scenario-Driven Audio Production CodePipeline]]></title>
            <link>https://medium.com/@pksivakumar2000/from-music-to-media-systems-building-a-scenario-driven-audio-production-codepipeline-7e6e1a32beb7?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e6e1a32beb7</guid>
            <category><![CDATA[music-technology]]></category>
            <category><![CDATA[mediatech]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[audio-engineering]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Fri, 20 Mar 2026 20:05:56 GMT</pubDate>
            <atom:updated>2026-03-20T20:05:56.218Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>“The studio is a place where magic happens — you just have to be patient enough to capture it.”<br> — <em>Rick Rubin</em></p><p>What if music production could be engineered like a system?</p><p>What if compositions were not just written, but <strong>generated, processed, analyzed, and visualized</strong> — just like a supply chain?</p><p>In this project, I built a <strong>scenario-driven audio production system</strong> that combines:</p><ul><li>Western classical composition principles</li><li>probabilistic (ML-style) melody generation</li><li>audio rendering and signal processing</li><li>data analytics using DuckDB</li><li>and a .NET dashboard for interaction</li></ul><p>This is not just about music.</p><p>It is about treating <strong>creative production as an engineered pipeline similar to </strong>AWS DeepComposer works mainly on <strong>Artificial Intelligence (AI) and Machine Learning (ML)</strong> concepts — specifically in the field of <strong>Generative AI for music</strong>..(later depreciated support ended)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0LyRpNYfCcSLHk9KQr-7NQ.png" /><figcaption>System Architecture</figcaption></figure><h3>🧩 The Core Idea</h3><p>The central idea behind this system is straightforward yet powerful: to treat music as a product moving through a structured system rather than as a purely linear creative output.</p><p>Instead of following a traditional workflow, the process is modeled as a sequence of transformations — beginning with planning, followed by generation, production, analysis, and finally visualization. Each stage refines and enriches the output, much like how materials move through a manufacturing pipeline or how content flows through a modern media production system.</p><p>By applying this perspective, music becomes not just an artistic artifact but a measurable and optimizable entity within an engineered ecosystem.</p><h3>🏗️ System Architecture</h3><p>At a high level, the system is designed as a layered architecture where each component plays a specific role in the overall pipeline. A scenario acts as the control mechanism, defining how the system behaves under different conditions. Based on this input, the composition engine generates the foundational musical structure, which is then enhanced by an orchestration layer to add depth and richness. The <strong>rendering engine converts symbolic MIDI data into actual audio</strong>, after which a metrics engine evaluates signal quality.</p><p>These results are aggregated within an analytics layer, and finally, a .NET dashboard provides an interface for visualization and interaction. In essence, the system follows a clear flow: Scenario to Music, Music to Audio, Audio to Metrics, Metrics to Analytics, and Analytics to Dashboard. This structured approach mirrors modern cloud-native architectures, where each stage represents a modular and scalable service.</p><h3>🎼 Composition Engine: From Notes to Structure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*9C2Zj1SIVZ9e1uoiU71Dtw.jpeg" /><figcaption>Music Orchestra Style</figcaption></figure><p>Rather than relying on purely random note generation, the system employs a motif-based approach inspired by classical composition techniques. A small musical idea, or motif, is created and then expanded through variation to form larger sections such as prelude, chorus, and interlude.</p><p>This process is guided by a <strong>lightweight probabilistic model</strong> that favors smoother transitions between notes. By considering the relationship between consecutive pitches, the system reduces abrupt changes and enhances musical coherence. Although this is not a full-scale machine learning model, it demonstrates<strong> ML-inspired</strong> behavior by incorporating probability-driven decision-making.</p><p>The result is a composition process that balances structure and variability, producing outputs that feel intentional rather than random.A key part of this system is a lightweight probabilistic approach:</p><pre>def weighted_choice(seq, previous=None):<br>    if previous is None:<br>        return random.choice(seq)</pre><pre>    distance = abs(note - previous)<br>    weight = 1 / (1 + distance)</pre><p>This ensures:</p><ul><li>smoother transitions</li><li>less randomness</li><li>more musical continuity</li></ul><p>This is not heavy machine learning, but it behaves like a <strong>simple ML-inspired model</strong>.</p><h3>🎼 Orchestration: Adding Musical Depth</h3><p>Once the core melody is established, the system moves into orchestration, where the musical idea is distributed across multiple instruments to create a richer sonic experience. The violin carries the primary melody, while the viola introduces counterpoint, the cello provides harmonic support, and the flute adds brightness and tonal contrast.</p><p>This layering process simulates how real-world orchestral arrangements are constructed, where different instruments contribute distinct roles within a unified composition. From a systems perspective, this stage can be viewed as a <strong>transformation layer</strong> that enhances the base output by combining multiple components into a cohesive whole.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*Zj10Fjf4jDa359G_.jpg" /></figure><p>For example:</p><pre>for note in violin.notes:<br>    chord = triad(note.pitch - 12)</pre><p>This simulates how orchestral arrangements are layered in real compositions.</p><h3>🔊 Audio Production: From MIDI to Sound</h3><p>The system uses <strong>FluidSynth</strong> to convert MIDI into audio:</p><pre>fluidsynth -ni -F output.wav -r 44100 soundfont.sf2 input.mid</pre><p>This is equivalent to a <strong>digital audio workstation rendering pipeline</strong>, where symbolic music becomes real sound.</p><p>To evaluate the quality of the generated audio, the system analyzes key signal characteristics such as RMS loudness, peak amplitude, and duration. These metrics are combined into a simple yet effective quality score that reflects the overall signal balance. This process can be compared to omics-style analysis in scientific domains, where multiple measurements are used to derive meaningful insights about a system. In this case, the audio signal is treated as data, and its <strong>properties are quantified</strong> to enable objective evaluation and comparison.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Od0C1RSBVjo2HQSH-YYaVg.png" /></figure><h3>🎧 Post-Processing: Media-Ready Output</h3><p>Following audio rendering, the system applies post-processing techniques to generate multiple versions of the same composition. These include a standard mix, a <strong>radio-friendly version</strong> with reduced fidelity, and a reverb-enhanced version suitable for cinematic experiences. This approach reflects real-world media workflows, where content is adapted for different distribution channels such as broadcasting, streaming, and film production. By incorporating this stage, the system demonstrates how a single source can be transformed into multiple outputs tailored for specific contexts.</p><h3>🧬 Audio Metrics: Omics-Style Analysis</h3><p>To evaluate the quality of the generated audio, the system analyzes key signal characteristics such as RMS loudness, peak amplitude, and duration. These metrics are combined into a simple yet effective quality score that reflects the overall signal balance. This process can be compared to <strong>omics-style analysis</strong> in scientific domains, where multiple measurements are used to derive meaningful insights about a system. In this case, the audio signal is treated as data, and its properties are quantified to enable objective evaluation and comparison.A simple but effective quality indicator is:</p><pre>quality_score = rms / peak</pre><p>This acts like a <strong>signal fingerprint</strong>, similar to how omics systems analyze biological data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jb62xwDFfVj2ufazR9ErPw.png" /></figure><h3>📊 Analytics Layer: Turning Audio into Data</h3><p>All metrics are aggregated using DuckDB:</p><pre>SELECT scenario_name, AVG(quality_score)<br>FROM metrics<br>GROUP BY scenario_name</pre><p>This allows comparison across scenarios and production strategies.</p><h3>🌐 Dashboard: Bringing Everything Together</h3><p>A .NET web application provides:</p><ul><li>scenario selection</li><li>run execution</li><li>audio playback</li><li>waveform visualization</li><li>quality comparison charts</li></ul><p>This transforms the system into an <strong>interactive media control center</strong>.</p><h3>📡 Scenario Design: A Supply Chain Perspective</h3><p>Each scenario represents a different production strategy:</p><ul><li><strong>normal_demand</strong> → standard scheduled release</li><li><strong>expedite_mode</strong> → fast production, lower quality tolerance</li><li><strong>quality_first</strong> → slower production, higher fidelity</li></ul><p>This maps directly to <strong>mass media communication systems</strong>, such as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*O89lk7O2jPXJoRQE.jpg" /></figure><ul><li>TV broadcast scheduling</li><li>streaming content pipelines</li><li>real-time content Most systems focus on only one of these.<br>This system brings them together.</li></ul><h3>🛠️ How to Use the System</h3><p>The system is designed to be simple to operate while representing a complex underlying architecture. Once the application is running locally, users can interact with it through the browser-based .NET dashboard. From the interface, a scenario can be selected — such as normal demand, expedite mode, or quality-first — each representing a different production strategy. Upon execution, the system automatically triggers the full pipeline, generating compositions, rendering audio, computing metrics, and updating analytics. The user can then immediately listen to the generated audio, observe waveform patterns, and analyze quality metrics through charts and tables. This creates a seamless experience where a complete production cycle — from planning to analysis — can be executed with a single interaction, much like triggering a <strong>pipeline in a modern DevOps environment</strong>.</p><h3>🎮 Real-World Applications and Cross-Industry Relevance</h3><p>What makes this system particularly interesting is how it demonstrates that music is not isolated to one domain but is deeply embedded across multiple lines of business when viewed through a supply chain lens. In music and audio engineering, this pipeline can evolve into automated composition tools, orchestration assistants, and mastering systems, helping professionals <strong>streamline creative workflows</strong>. In the gaming industry, the same architecture can power adaptive background music engines, where audio dynamically responds to gameplay conditions in real time, similar to event-driven systems in cloud environments.</p><p>In media and broadcasting, the system directly maps to<strong> content production pipelines</strong>, where audio assets are generated, processed, validated, and distributed based on demand scenarios. For example, an expedited scenario mirrors breaking news production, while a quality-first scenario aligns with cinematic or premium streaming releases. This demonstrates how music behaves like a <strong>content product moving through a distribution network</strong>, much like video or digital media assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OvTr7uww0PW3V6kf.jpg" /></figure><p>From an AI/ML perspective, the probabilistic melody generation and signal-based metrics open the door to more advanced generative systems, such as style transfer, <strong>intelligent audio synthesis</strong>, and automated content personalization. These systems can operate as data-driven pipelines where models continuously learn and improve outputs, similar to modern machine learning workflows deployed in production environments.</p><p>From a cloud and DevOps standpoint, the entire system can be understood as an <strong>event-driven, modular pipeline</strong>. Each stage — composition, orchestration, rendering, effects, metrics, and analytics — acts like an independent service in a microservices architecture. These components can be containerized, orchestrated, and scaled using cloud-native tools, transforming the system into a distributed media processing platform. Concepts such as CI/CD pipelines, observability, and automated validation can be applied to ensure consistent audio quality and reliable production workflows.</p><p>Ultimately, this project highlights a broader idea:</p><blockquote>Music, when viewed through the lens of engineering, becomes a scalable, analyzable, and automatable system.</blockquote><p>By modeling music as a supply chain and implementing it using software architecture principles inspired by cloud and DevOps, we unlock new possibilities where creativity and engineering converge — enabling applications that span entertainment, media, AI, and large-scale distributed systems.</p><p>Feel free to extend the idea using below repository</p><p><a href="https://github.com/sivakumarpalanikumar/Audio-Music-Sound-Production-Python-Pipeline.git">https://github.com/sivakumarpalanikumar/Audio-Music-Sound-Production-Python-Pipeline.git</a></p><h3>🏁 Closing Line</h3><p>This is not just a music generator.</p><p>It is a <strong>media production system built with engineering principles</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e6e1a32beb7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[LinkCaster NOC — Multi-Network Media Forensics & Broadcast Monitoring POC]]></title>
            <link>https://medium.com/@pksivakumar2000/linkcaster-noc-multi-network-media-forensics-broadcast-monitoring-poc-ffe53f7b747e?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffe53f7b747e</guid>
            <category><![CDATA[rf-engineering]]></category>
            <category><![CDATA[digital-forensics]]></category>
            <category><![CDATA[broadcast-technology]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[network-engineering]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 19:13:32 GMT</pubDate>
            <atom:updated>2026-02-06T19:13:32.939Z</atom:updated>
            <content:encoded><![CDATA[<h3>LinkCaster NOC — Multi-Network Media Forensics &amp; Broadcast Monitoring POC</h3><p>“<strong>The wireless music box has no imaginable commercial value.</strong>” — <em>David Sarnoff’s critics (early radio era)</em></p><p>A lightweight telecom-style Network Operations Center tool that receives live mobile video/audio streams, records them, and enables forensic + AI analysis using AWS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lKfRqtOPobozSxQCJ7qiAQ.png" /><figcaption>Linkcaster Architecture</figcaption></figure><p>All modern radio/TV/cellular systems ultimately become <strong>compressed media streams transported over networks</strong>.</p><h3>What is radio in reality?</h3><p>FM radio feels like:</p><blockquote><em>“Voice travels through air at 96.5 MHz”</em></blockquote><p>But in broadcast engineering, the real workflow is:</p><h3>Studio → Audio Encoder → Distribution → Receiver</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FVqRB88HfqTEOByUTh8_jA.jpeg" /></figure><p>In radio engineering, <strong>Internet Radio Streams</strong> are essentially the digital version of traditional broadcast signals. Instead of being transmitted over the air using RF waves, the audio program is sent through the internet as a continuous data stream.</p><p>These streams are also called <strong>Broadcast Program Feeds</strong> because they carry the actual radio content (music, news, talk shows) from the studio or headend to listeners, relay stations, or distribution platforms. In simple terms, the stream is the program feed that delivers the broadcast to the audience, just through IP networks instead of antennas.</p><p><strong>HLS Audio Streaming (Radio over IP)</strong> refers to delivering radio audio programs through the internet using the <strong>HTTP Live Streaming (HLS)</strong> protocol. Instead of transmitting audio via traditional FM/AM radio waves, the broadcast is converted into digital audio and sent over IP networks to listeners.</p><p>HLS works by breaking the audio stream into small segments and delivering them through standard web servers, making it reliable and compatible with mobile phones, smart speakers, and browsers. In simple terms, HLS enables modern internet radio by providing smooth, scalable, and adaptive audio streaming over the internet.</p><h3>How this can be visualized in reality?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BIHhn5PQ1v6ABIVBaWGDSg.jpeg" /></figure><h3>1) stations.json (radio channel list)</h3><p>This is the key idea: your “radio” comes from <strong>public broadcast program feeds over IP</strong> (HLS playlists).</p><p>Example we used (AIR / Prasar Bharati style):</p><pre>[<br>  {<br>    &quot;name&quot;: &quot;AIR (pbaudio001)&quot;,<br>    &quot;url&quot;: &quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudio001/playlist.m3u8&quot;<br>  },<br>  {<br>    &quot;name&quot;: &quot;AIR Madurai (pbaudio127)&quot;,<br>    &quot;url&quot;: &quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudio127/playlist.m3u8&quot;<br>  },<br>  {<br>    &quot;name&quot;: &quot;AIR Tamil / Chennai (example)&quot;,<br>    &quot;url&quot;: &quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudioXXX/playlist.m3u8&quot;<br>  }<br>]</pre><h3>2) Play radio (the “receiver”)</h3><p>This is the <em>radio hearing</em> command:</p><pre>ffplay -hide_banner -loglevel warning &quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudio001/playlist.m3u8&quot;</pre><h3>3) Record radio to a file (for evidence / logging)</h3><p>This is the <em>recording</em> command”</p><h4>Record as AAC in .m4a (safe default)</h4><pre>ffmpeg -hide_banner -loglevel warning \<br>-i &quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudio001/playlist.m3u8&quot; \<br>-vn -c:a aac -b:a 128k \<br>&quot;recordings/air_$(date +%Y%m%d_%H%M%S).m4a&quot;</pre><h3>4) Analyze the “radio feed” like a broadcast engineer</h3><pre>ffprobe -hide_banner -loglevel error \<br>-show_format -show_streams -of json \<br>&quot;https://air.pc.cdn.bitgravity.com/air/live/pbaudio001/playlist.m3u8&quot;</pre><blockquote>Wait! Do you believe that you could Tune Like a Satellite Ground Station Operator and do fun and hear nature voices?</blockquote><p>In radio engineering, <strong>WebSDR</strong> refers to a system that allows users to listen to and control a real radio receiver through a web browser. Instead of using your own local radio equipment, you can access a receiver connected to an actual antenna located somewhere else in the world.</p><p>So, <strong>WebSDR = Remote Real Antennas</strong> means you are tuning into real RF signals captured by physical antennas remotely, making it useful for monitoring bands, studying propagation, and exploring signals without needing your own antenna setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XmNwe01MtVCqDwnoAAW_LQ.png" /></figure><p>The most commonly referenced <strong>university-developed WebSDR</strong> was created by Dr. Pieter-Tjerk de Boer (PA3FWM) at <strong>the University of Twente in the Netherlands</strong> — this was the first publicly accessible multi-user WebSDR allowing many people to tune and listen to real radio spectrum simultaneously through a browser.</p><h3>How cellular forensic can be done and visualized using AI?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dhWMVhVybBlesPAN2hVlmA.jpeg" /></figure><p>In cellular forensics, <strong>LAN (Local Area Network)</strong> and <strong>Cellular Uplink</strong> play important roles in understanding how a device communicates and transfers data. <strong>LAN</strong> refers to connections through Wi-Fi or local networks, which investigators analyze to trace local activity such as access to routers, nearby devices, or internal network traffic.</p><p>On the other hand, <strong>Cellular Uplink</strong> is the communication path from a mobile device to the cell tower, carrying voice, SMS, and internet data through the mobile network. In forensics, uplink analysis helps identify user location, network usage, call/data sessions, and evidence of communication even when Wi-Fi is not involved.</p><p>I have explored in a hardway using step by step comamnds. So have given powershell scripts below so you shall either decode the commands too</p><h3>1) Part 1 — SRT (Phone → Laptop over Wi-Fi) Watch + Record</h3><pre>&lt;# <br>Part 1: SRT Listener + Record<br>- Preview: ffplay listens on SRT port 10000<br>- Record : ffmpeg writes .ts to .\recordings\<br>#&gt;<br><br>$ErrorActionPreference = &quot;Stop&quot;<br><br># Settings<br>$SrtUrl = &#39;srt://0.0.0.0:10000?mode=listener&amp;latency=200&#39;<br>$OutDir = Join-Path $PSScriptRoot &quot;recordings&quot;<br>$TsFile = Join-Path $OutDir (&quot;phone_capture_{0}.ts&quot; -f (Get-Date -Format &quot;yyyyMMdd_HHmmss&quot;))<br><br># Ensure output folder exists<br>if (!(Test-Path $OutDir)) { New-Item -ItemType Directory -Path $OutDir | Out-Null }<br><br>Write-Host &quot;=== PART 1: SRT Preview + Record ===&quot;<br>Write-Host &quot;SRT URL : $SrtUrl&quot;<br>Write-Host &quot;Output  : $TsFile&quot;<br>Write-Host &quot;&quot;<br>Write-Host &quot;Starting preview (ffplay) in a new window...&quot;<br>Start-Process -FilePath &quot;ffplay.exe&quot; -ArgumentList &quot;`&quot;$SrtUrl`&quot;&quot; -WindowStyle Normal<br><br>Write-Host &quot;Starting recording (ffmpeg) in THIS window...&quot;<br>Write-Host &quot;Press Ctrl + C to stop recording.&quot;<br>Write-Host &quot;&quot;<br><br># Record (copy codec to avoid re-encode)<br>&amp; ffmpeg.exe -hide_banner -loglevel info `<br>    -i $SrtUrl `<br>    -c copy `<br>    $TsFile<br><br>Write-Host &quot;&quot;<br>Write-Host &quot;Done. Saved: $TsFile&quot;<br></pre><h3>2) Part 2 — RTSP Forensic Capture (Phone → Laptop via Hotspot + MediaMTX)</h3><pre>&lt;#<br>Part 2: MediaMTX + RTSP Verify + Forensic Record<br>- Starts MediaMTX (mediamtx.exe)<br>- Verifies RTSP port 8554 listening<br>- Starts preview (ffplay) and recording (ffmpeg) from rtsp://&lt;LaptopIP&gt;:8554/phone<br><br>IMPORTANT:<br>- Set $LaptopIP to the laptop&#39;s hotspot IP (example: 172.18.165.48)<br>- Ensure Larix is publishing to: rtsp://&lt;LaptopIP&gt;:8554/phone<br>#&gt;<br><br>$ErrorActionPreference = &quot;Stop&quot;<br><br># ====== EDIT THIS ======<br>$LaptopIP = &quot;172.18.165.48&quot;<br># =======================<br><br>$RtspUrl = &quot;rtsp://$LaptopIP:8554/phone&quot;<br>$OutFile = Join-Path $PSScriptRoot (&quot;forensic_capture_{0}.mp4&quot; -f (Get-Date -Format &quot;yyyyMMdd_HHmmss&quot;))<br>$MediaMtxExe = Join-Path $PSScriptRoot &quot;mediamtx.exe&quot;   # keep mediamtx.exe in same folder OR put it in PATH<br><br>Write-Host &quot;=== PART 2: RTSP (MediaMTX) Preview + Forensic Record ===&quot;<br>Write-Host &quot;RTSP URL : $RtspUrl&quot;<br>Write-Host &quot;Output   : $OutFile&quot;<br>Write-Host &quot;&quot;<br><br># Start MediaMTX if not already running<br>$existing = Get-Process -Name &quot;mediamtx&quot; -ErrorAction SilentlyContinue<br>if (-not $existing) {<br>    Write-Host &quot;Starting MediaMTX...&quot;<br>    if (Test-Path $MediaMtxExe) {<br>        Start-Process -FilePath $MediaMtxExe -WorkingDirectory $PSScriptRoot<br>    } else {<br>        # If not in script folder, try PATH<br>        Start-Process -FilePath &quot;mediamtx.exe&quot;<br>    }<br>    Start-Sleep -Seconds 2<br>} else {<br>    Write-Host &quot;MediaMTX already running.&quot;<br>}<br><br># Verify port 8554 is listening<br>Write-Host &quot;Checking if RTSP port 8554 is listening...&quot;<br>$portListening = $false<br>try {<br>    $conns = Get-NetTCPConnection -LocalPort 8554 -State Listen -ErrorAction Stop<br>    if ($conns) { $portListening = $true }<br>} catch {<br>    $portListening = $false<br>}<br><br>if (-not $portListening) {<br>    Write-Warning &quot;Port 8554 not listening yet. MediaMTX may not have started, or firewall is blocking.&quot;<br>    Write-Host &quot;You can still continue, but ffplay/ffmpeg may fail until Larix starts publishing.&quot;<br>} else {<br>    Write-Host &quot;OK: Port 8554 is listening.&quot;<br>}<br><br>Write-Host &quot;&quot;<br>Write-Host &quot;Now in Larix, set Publish URL to:&quot;<br>Write-Host &quot;  $RtspUrl&quot;<br>Write-Host &quot;Then press START in Larix.&quot;<br>Write-Host &quot;&quot;<br><br># Start preview<br>Write-Host &quot;Starting live preview (ffplay) in a new window...&quot;<br>Start-Process -FilePath &quot;ffplay.exe&quot; -ArgumentList &quot;`&quot;$RtspUrl`&quot;&quot; -WindowStyle Normal<br><br># Start recording<br>Write-Host &quot;Starting forensic recording (ffmpeg) in THIS window...&quot;<br>Write-Host &quot;Press Ctrl + C to stop recording.&quot;<br>Write-Host &quot;&quot;<br><br>&amp; ffmpeg.exe -hide_banner -loglevel info `<br>    -rtsp_transport tcp `<br>    -i $RtspUrl `<br>    -c copy `<br>    $OutFile<br><br>Write-Host &quot;&quot;<br>Write-Host &quot;Done. Saved: $OutFile&quot;</pre><p>Also configure the /metric and /path/list in the media.yml file in the mediamtx</p><h3>Forensic Value of This Setup</h3><p>This workflow is realistic and legally meaningful:</p><ul><li>Timestamped capture</li><li>Stored evidence recording</li><li>Network transport path logging</li><li>RTSP session monitoring</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dluAzWUKagE6ztsJgZ154Q.png" /></figure><p>We logged our Celllular video+audio capture from camera</p><h3>Part A (SRT over Wi-Fi LAN)</h3><ul><li><strong>Safer for the media stream</strong> because SRT supports <strong>built-in encryption (AES)</strong> and also has replay/latency controls.</li><li>But your security depends on the <strong>Wi-Fi LAN</strong>: if it’s a shared/corporate/public network, other devices on that LAN might still <strong>scan/attack your laptop port (10000)</strong> or try MITM if Wi-Fi is weak/misconfigured.</li></ul><h3>Part B (RTSP over Phone Hotspot + MediaMTX)</h3><ul><li><strong>Network exposure is lower</strong> because the hotspot is a <strong>private mini-LAN</strong> (fewer unknown devices).</li><li>But <strong>RTSP is weaker by default</strong>: many RTSP setups are <strong>plain RTSP (no encryption)</strong>, so anyone who joins the hotspot (or any device on that same network) could potentially <strong>sniff the stream or access the URL</strong> unless you add <strong>RTSP auth / TLS / VPN</strong>.</li></ul><h3>Configuration in Larix App</h3><h3>Part A (SRT over Wi-Fi) — Larix Connection Setup</h3><ol><li>Open <strong>Larix Broadcaster → Connections → Add New Connection</strong></li></ol><ul><li>Select <strong>SRT</strong></li><li>Mode: <strong>Caller</strong></li></ul><p>2. Enter Stream URL:</p><pre>srt://&lt;Laptop-IP&gt;:10000</pre><p>Save → Press <strong>Star</strong></p><h3>Part B (RTSP over Hotspot) — Larix Connection Setup</h3><ol><li>Open <strong>Larix Broadcaster → Connections → Add New Connection</strong></li></ol><ul><li>Select <strong>RTSP Publish</strong></li></ul><p>2. Enter Publish URL:</p><pre>rtsp://&lt;Laptop-IP&gt;:8554/phone</pre><p>Save → Press <strong>Start</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZKZisHAjVf4TJ0LWjMu22A.jpeg" /></figure><h3>Role of AI in Communication Systems!</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l1vNpoIflc1QeF5gQwoCNQ.png" /></figure><p>Generally (across Verizon, AT&amp;T, T-Mobile, Huawei, Vodafone, Deutsche Telekom, Orange, Nokia, Ericsson), they all stress the <strong>same core message</strong> about AI in the telecom revolution:</p><p>All major telecom operators and vendors see <strong>AI as essential to run future networks</strong>, because 5G/6G networks are too complex to manage manually. AI is needed for <strong>automation, self-optimizing networks, and zero-touch operations</strong>, so networks can detect problems, adjust performance, and heal themselves in real time.</p><p>Here just for example we uploaded a sample audio in S3 and we used AWS Transcribe to read the audio and its log says</p><pre>&quot;Transcript&quot;:[<br>  {<br>    &quot;ParticipantRole&quot;:&quot;CUSTOMER&quot;,<br>    &quot;Content&quot;:&quot;Don&#39;t forget to subscribe.&quot;<br>  },<br>  {<br>    &quot;ParticipantRole&quot;:&quot;AGENT&quot;,<br>    &quot;Content&quot;:&quot;Don&#39;t forget to subscribe.&quot;<br>  }<br>]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RnnKolyBnCdTrvX5dyaFNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gIbe2Ltt5Y8Eaj4g6CyM2Q.png" /></figure><p>It can also be extended using Bedrock and AWS Kinesis Video stream too</p><p>Watch Mobile World Congress Event of 2025 and see the insightful thoughts from Telecom Leaders.</p><p>Do Read my other Blogs! Thanks</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffe53f7b747e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Trustplane: Identity-First Network Control in a Zero-Trust World]]></title>
            <link>https://medium.com/@pksivakumar2000/trustplane-identity-first-network-control-in-a-zero-trust-world-0b3317d47097?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0b3317d47097</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[aws-architecture]]></category>
            <category><![CDATA[zero-trust]]></category>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[telecom-network]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Fri, 23 Jan 2026 17:47:15 GMT</pubDate>
            <atom:updated>2026-01-23T18:29:31.601Z</atom:updated>
            <content:encoded><![CDATA[<p>“<em>True mastery is the combination of all three. Certifications provide the 𝐖𝐇𝐀𝐓 (the knowledge). Projects provide the 𝐇𝐎𝐖 (the skill). And the strategic mindset of applying them to business problems provides the 𝐖𝐇𝐘 (the value). This synergy is the ultimate differentiator for high-performing engineers.</em>” <a href="https://www.linkedin.com/in/akshaypk2395/overlay/about-this-profile/">Akshay Pk</a> — Lead Principal System Engineer @ Backbase | YouTuber — Tamil Cloud</p><p>Telecom builds the network, cloud builds the platform, GPUs build intelligence, and semiconductors make it all possible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*KbWfIBKN1KBA65bzqe55Ig.jpeg" /></figure><h3><strong>What is Trustplane?</strong></h3><p><strong>Trustplane</strong> uses AWS Verified Access to enforce Zero Trust directly at the network boundary. Before any TCP connection is allowed to an EC2 instance, the user’s identity is evaluated via Amazon Cognito.</p><h3>Analog vs Digital — Why It Matters Here</h3><p>Although <strong>TrustPlane is implemented using digital systems</strong>, its <strong>design philosophy and constraints are deeply influenced by analog realities</strong>. This is exactly how real telecom, networking, and infrastructure systems are engineered.</p><p>Analog systems are naturally continuous, precise, and adaptable because they directly represent physical reality, whereas digital systems deliberately sacrifice that continuity to achieve determinism, security, and scalable control over complex environments.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*gjbHpf0sYYofoMjrxtE_xw.jpeg" /></figure><p>Just an simple aleternative to VPN is <strong>AWS Verified Access</strong></p><p>This ensures that:</p><ol><li><strong>No user</strong> is trusted by default. No device is implicitly trusted</li></ol><p>2. No connection is allowed without verified identity</p><p>3. Network access becomes an authorization decision, not a routing outcome.</p><p>4. <strong>Policy-Based Authorization</strong> with AWS Verified Permissions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2lbiYoHHCSe2x4WfJk408w.png" /><figcaption>AWS Verified Access Groups</figcaption></figure><p>At the authorization layer, AWS Verified Permissions enforces Zero Trust through:</p><ol><li>Explicit, <strong>policy-based decisions</strong></li></ol><p>2. Least-privilege access</p><p>3. Deny-by-default enforcement</p><p>So Unlike traditional IAM — which primarily controls infrastructure and service-level permissions — Verified Permissions enables fine-grained, application-level authorization aligned with <strong>business intent</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DgFpxXp6NoGcvSvDQGlslA.png" /><figcaption>OIDC connectivity for AWS Verified Access with AWS Cognito App Client</figcaption></figure><h3><strong>AWS Verified Access + AWS Cognito</strong></h3><p>AWS Verified Access integrates seamlessly with Amazon Cognito to apply identity-based authorization at the network layer. Only users with valid OIDC claims can establish TCP connections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8-Ewlnfu5WEbbcYXMxogSw.png" /><figcaption>App prompting to login using Cognito</figcaption></figure><p>This approach eliminates:</p><ol><li>IP-based trust and VPN-based assumptions</li></ol><p>2. Network location privilege</p><p>3. Access is determined by <strong>who you are, not where you connect from.</strong></p><p>As a result we designed a <strong>defense in depth mechanism</strong> flow product</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eQe-bZSRBUJOOC5ii-ngNw.png" /><figcaption>Defense in depth request/response flow</figcaption></figure><h3>Product Development</h3><p><em>“Build while you learn. Translate every concept into a working resource in your cloud environment.”</em></p><p>We have designed a simple app named <strong>Boundarylens</strong>.</p><p>Here is our end product AWS architecture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wixqs-4Hr74MmufiudVNiQ.png" /><figcaption>Trustplane aka Boundarylens AWS Architecture</figcaption></figure><p><strong>BoundaryLens</strong> is a Zero-Trust boundary observability platform that lets engineers see, validate, and explain how identity, policy, and network admission work together in real systems.</p><h3>What professionals can actually do with BoundaryLens</h3><h3>1️⃣ Telecom &amp; Network Engineers</h3><p><strong>What they get:</strong><br> BoundaryLens shows <em>who</em> is allowed through the network and <em>why</em> — in real time.<br> It feels like a telco admission system, not a flat cloud IP network.</p><p>We see the status of AWS Telco Network Builder and Verified Access status using API’s and download it as a Json document</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L1VUJL3-OMAcy-nOcWeeFA.png" /><figcaption>Page for Teleco’s</figcaption></figure><p><strong>Network Slicing (Conceptual)</strong></p><p>While not explicit 5G slicing, we implemented:<br>Logical segmentation of access<br>CIDR-based endpoints</p><p>Port-range isolation</p><pre>&quot;CidrOptions&quot;: {<br> &quot;Cidr&quot;: &quot;172.31.0.0/16&quot;,<br> &quot;PortRanges&quot;: [{ &quot;FromPort&quot;: 21, &quot;ToPort&quot;: 23 }]<br>}</pre><h3>2️⃣ OS &amp; Kernel Engineers</h3><p><strong>What they get:</strong><br> BoundaryLens connects identity and policy to what the kernel actually receives.<br> It treats identity as a real system boundary, not just an app-level check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pS2iQbA87zlAHRfD_nvMkw.png" /><figcaption>Page for OS and Kernel Professionals</figcaption></figure><h3>3️⃣ Security Engineers &amp; Zero-Trust Architects</h3><p><strong>What they get:</strong><br> BoundaryLens proves Zero Trust end-to-end instead of just claiming it.<br> It replaces VPNs and IP allowlists with auditable, identity-based access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GqVPo_u1SN76yTkb-BVR7Q.png" /><figcaption>Home Page for Cognito Authentication</figcaption></figure><h3>4️⃣ Cloud / Solutions Architects</h3><p><strong>What they get:</strong><br> BoundaryLens makes security, identity, and networking easy to explain — live.<br> It turns architecture diagrams into something you can actually show working.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OS7NTYOtIqYZ8Q1h07CQow.png" /><figcaption>Boundaylens Full Architecture</figcaption></figure><h3>5️⃣ Embedded / Systems / Hardware-minded Engineers</h3><p><strong>What they get:</strong><br> BoundaryLens exposes clear boundaries in cloud systems, not hidden abstractions.<br> It maps modern cloud security to familiar system concepts like gates and control planes.</p><p>Code (AWS Verified Access status endpoint)</p><pre>import boto3<br><br>@app.get(&quot;/aws/verified-access/status&quot;)<br>def aws_verified_access_status():<br>    ec2 = boto3.client(&quot;ec2&quot;, region_name=&quot;us-east-1&quot;)<br><br>    inst = ec2.describe_verified_access_instances().get(&quot;VerifiedAccessInstances&quot;, [])<br>    grps = ec2.describe_verified_access_groups().get(&quot;VerifiedAccessGroups&quot;, [])<br>    eps  = ec2.describe_verified_access_endpoints().get(&quot;VerifiedAccessEndpoints&quot;, [])<br><br>    return {<br>        &quot;service&quot;: &quot;verified-access&quot;,<br>        &quot;region&quot;: &quot;us-east-1&quot;,<br>        &quot;instances&quot;: inst,<br>        &quot;groups&quot;: grps,<br>        &quot;endpoints&quot;: eps,<br>    }</pre><h3>6️⃣ Product &amp; Platform Teams</h3><p><strong>What they get:</strong><br> BoundaryLens makes security visible, understandable, and easier to adopt.<br> It turns security from a blocker into a clear design constraint teams can work with.</p><p>code (client/server boundary (application layer)</p><pre>import java.net.http.*;<br>import java.net.URI;<br><br>public class BoundaryLensClient {<br>  public static void main(String[] args) throws Exception {<br>    String url = &quot;http://127.0.0.1:8080/aws/verified-access/status&quot;;<br>    HttpClient c = HttpClient.newHttpClient();<br>    HttpRequest r = HttpRequest.newBuilder().uri(URI.create(url)).GET().build();<br>    HttpResponse&lt;String&gt; res = c.send(r, HttpResponse.BodyHandlers.ofString());<br>    System.out.println(res.statusCode());<br>    System.out.println(res.body());<br>  }<br>}<br></pre><h3>Conclusion</h3><p>TrustPlane can evolve into an international-grade platform by integrating <strong>device posture and hardware attestation (TPM, Nitro Enclaves), edge identity and 5G control-plane signals, real-time eBPF telemetry streaming, and AI-assisted policy reasoning</strong>, while expanding the stack to include <strong>confidential compute, WASM-based agents, multi-cloud identity federation, and standards-driven intent models (3GPP, OPA, SPIFFE/SPIRE)</strong> for globally distributed, regulated environments.</p><p>Please find the below Github URL used for this small product</p><p><a href="https://github.com/sivakumarpalanikumar/TrustPlane-Identity-First-Network-Control.git">https://github.com/sivakumarpalanikumar/TrustPlane-Identity-First-Network-Control.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0b3317d47097" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Making CAN Visible: Learning the Controller Area Network Bit by Bit]]></title>
            <link>https://medium.com/@pksivakumar2000/making-can-visible-learning-the-controller-area-network-bit-by-bit-a2a46d4cbcbe?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2a46d4cbcbe</guid>
            <category><![CDATA[in-vehicle-networking]]></category>
            <category><![CDATA[can-protocol]]></category>
            <category><![CDATA[german-engineering]]></category>
            <category><![CDATA[automotive-engineering]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Fri, 02 Jan 2026 19:15:34 GMT</pubDate>
            <atom:updated>2026-01-02T19:30:03.840Z</atom:updated>
            <content:encoded><![CDATA[<p><em>(A hands-on learning POC for automotive engineers)</em></p><p>The <strong>Controller Area Network (CAN)</strong> protocol has been the silent backbone of automotive electronics for decades.<br> From engine control units to body electronics, CAN enables reliable, real-time communication in some of the harshest operating environments imaginable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_NtCXUvBOayYJyZqsxPMpg.png" /><figcaption>Automotive Electronics System using CAN</figcaption></figure><p>Yet, despite its maturity and widespread use, <strong>CAN is still poorly “seen” by learners</strong>.<br> Most engineers learn CAN through specifications, tables, and logs — not through intuition.</p><p>This gap was the motivation behind a <strong>learning-focused CAN Visualizer Proof of Concept (POC)</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pd_sJMJfQDX9ol4RQVd3Yg.png" /><figcaption>The Visualizer Overview</figcaption></figure><h3>What is CAN — in one real-world picture</h3><p>Imagine a <strong>roundtable discussion</strong> with multiple experts:</p><ul><li>No one raises their hand</li><li>Everyone listens first</li><li>The person with the <strong>highest priority topic</strong> speaks</li><li>Others stop speaking immediately — without conflict</li></ul><p>That is CAN.</p><p>Instead of addressing nodes, CAN is <strong>message-based</strong>.<br> Each message carries an <strong>Identifier (ID)</strong> that defines:</p><ul><li><em>What the message means</em></li><li><em>How urgent it is</em></li></ul><p>Lowet ID → higher priority.<br> This elegant rule enables <strong>collision-free arbitration</strong>, even when multiple ECUs transmit simultaneously.</p><p>This design choice is one of the reasons CAN remains relevant even today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k-7GjkkCg4uMf9dPO-3yhQ.png" /><figcaption>CAN</figcaption></figure><h3>Why CAN is still hard to learn</h3><p>In practice, CAN is taught using:</p><ul><li>Frame tables</li><li>Timing diagrams</li><li>Hex dumps</li><li>Tool-specific screenshots</li></ul><p>What’s missing is a <strong>clear mental bridge</strong> between:</p><ul><li>A CAN specification</li><li>And what actually happens <strong>bit by bit on the bus</strong></li></ul><p>Concepts like:</p><ul><li>Dominant vs recessive</li><li>Arbitration</li><li>ACK slots</li><li>Bit stuffing</li></ul><p>are often <em>understood theoretically</em> but not <em>felt visually</em>.</p><h3>The Learning POC: A Beginner CAN Visualizer</h3><p>To address this, we built a <strong>learning-first CAN Visualizer POC</strong>, using Python focused on clarity rather than completeness.</p><h3>What the POC does</h3><ul><li>Visualizes a <strong>Standard CAN data frame</strong></li><li>Shows <strong>each bit over time</strong></li><li>Maps every field:</li><li>SOF</li><li>ID</li><li>RTR / IDE</li><li>DLC</li><li>DATA</li><li>CRC (simplified)</li><li>ACK</li><li>EOF</li><li>IFS</li><li>Clearly distinguishes:</li><li><strong>Dominant (0)</strong></li><li><strong>Recessive (1)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJAT5HeMuTPMGKCjj2sNmg.png" /><figcaption>Field Ranges Panel</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DEe2DC4U_kmbKHzBitK-Sw.png" /><figcaption>NRZ coding + Bit Stuffing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-elxaA1N6BeBFQxmOAFjoA.png" /><figcaption>Bitwise Arbitration</figcaption></figure><p>The goal was simple:</p><blockquote>If someone looks at the graph, they should immediately understand what the bus is doing.</blockquote><h3>A small example with a big impact</h3><p>Take a Standard CAN frame with:</p><ul><li>ID = <strong>291</strong></li><li>DLC = <strong>2</strong></li><li>Data = <strong>[17, 34]</strong></li></ul><p>Instead of just showing:</p><p>0x123 [2] 11 22</p><p>The visualizer shows:</p><ul><li>How ID bits are transmitted <strong>MSB first</strong></li><li>Where arbitration would happen</li><li>Why dominant bits “win”</li><li>Where receivers acknowledge the frame</li><li>How the bus returns to idle</li></ul><p>For many learners, this is the moment where CAN <strong>finally clicks</strong>.</p><h3>1. Dominant and Recessive Bits</h3><p>CAN works like a voting system on a shared wire — a Dominant (0) actively drives the bus and always overrides a Recessive (1).</p><h3>2 CAN Layered Architecture</h3><p>CAN uses different frame types to send data, request data, and handle errors without breaking communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QLftKIFzaBcuwJ_VKiBiuQ.png" /><figcaption>CAN Architecture Diagram</figcaption></figure><h3>3. Standard CAN Data Frame Structure</h3><p>Every CAN message follows a strict sequence of fields, starting with SOF and ending with IFS, to keep all nodes synchronized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D8Z6ENThoIh9ZvPseWATcw.png" /><figcaption>CAN Data Frame Diagram</figcaption></figure><h3>4. Identifier and Arbitration</h3><p>The Identifier defines both the meaning and priority of a message, and arbitration happens naturally as bits are transmitted.</p><h3>Example ID = 291</h3><p>ID 291 is sent bit by bit, most-significant bit first, allowing priority to be decided before the frame finishes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*OFagEvAEbsvdabHO8VWlzg.jpeg" /></figure><h3>5. Arbitration Rule</h3><p>When a node sends a Recessive bit but sees a Dominant one, it silently stops — no collision, no retry, no data loss.</p><h3>6. DLC and DATA Field</h3><p>The DLC tells receivers how much data to expect, and the DATA field carries the actual information.</p><h3>7. CRC — Error Detection</h3><p>CAN continuously checks data integrity using CRC so that even small transmission errors are detected immediately.</p><h3>8. ACK Mechanism</h3><p>Receivers confirm correct reception by briefly pulling the bus dominant in the ACK slot.</p><h3>9. EOF and Inter-Frame Space</h3><p>EOF clearly marks the end of a message, while IFS ensures the bus is clean before the next transmission begins.</p><h3>10. Bit Stuffing</h3><p>To keep timing aligned, CAN automatically inserts opposite bits whenever the signal stays the same for too long.</p><h3>11. Error Handling</h3><p>When something goes wrong, CAN nodes immediately signal an error so the entire network stays consistent.</p><h3>Why this matters (especially in automotive)</h3><p>In German and European automotive ecosystems — OEMs, Tier-1s, and tooling teams — engineers increasingly work across:</p><ul><li>Classic CAN</li><li>CAN FD</li><li>Ethernet</li><li>Mixed networks</li></ul><p>Yet <strong>debugging still starts at fundamentals</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KFGDDgqyctDEAsnDh81vpg.png" /><figcaption>CAN properties</figcaption></figure><p>When engineers truly understand:</p><ul><li>Why arbitration works</li><li>Why ACK is recessive from the sender</li><li>Why bit stuffing exists</li></ul><p>They debug faster, design safer systems, and write better tools.</p><p>Learning tools that emphasize <strong>intuition and visualization</strong> are no longer optional — they are necessary.</p><h3>The Future of CAN Tools</h3><p>CAN isn’t going away — <strong>CAN tooling must evolve</strong>.</p><p>The future demands:</p><ul><li>Visual-first debugging</li><li>Bit-level explainability</li><li>Learning tools alongside professional analyzers</li><li>A smooth path from <strong>learning to production</strong></li></ul><p>POCs like this help:</p><ul><li>Make protocols <strong>understandable</strong>, not just documented</li><li>Build confidence early for the next generation of automotive engineers</li></ul><p><strong>CAN is simple — once you truly see it.</strong><br> By turning bits into visible behavior, we reduce learning curves, improve system thinking, and build better automotive software.</p><p><strong>This POC isn’t the end — it’s the beginning.</strong></p><p><a href="https://github.com/sivakumarpalanikumar/Controlling-Area-Network-Visualization-POC-Dashboard.git">https://github.com/sivakumarpalanikumar/Controlling-Area-Network-Visualization-POC-Dashboard.git</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2a46d4cbcbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Hybrid Digital Twin and Network Security Architecture for Automotive and Telecom Telemetry]]></title>
            <link>https://medium.com/@pksivakumar2000/a-hybrid-digital-twin-and-network-security-architecture-for-automotive-and-telecom-telemetry-b98bac026f8b?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/b98bac026f8b</guid>
            <category><![CDATA[telecommunication]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[automotive-engineering]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[network-security]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Mon, 22 Dec 2025 13:53:21 GMT</pubDate>
            <atom:updated>2025-12-22T15:48:42.673Z</atom:updated>
            <content:encoded><![CDATA[<p>Bridging classical computer science foundations with cloud-native network security</p><h3>Abstract</h3><p>Modern automotive platforms and telecom networks rely heavily on continuous telemetry streams generated at the edge and processed centrally in the cloud. Ensuring the <strong>correctness, security, and observability</strong> of this telemetry is a non-trivial problem that spans multiple layers of the system stack.</p><p>This article presents a <strong>hybrid edge–cloud Proof of Concept (PoC)</strong> that integrates:</p><ul><li>Formal input validation using <strong>automata theory</strong></li><li>Structured telemetry generation inspired by <strong>compiler design</strong></li><li>Cloud-native <strong>stateful network inspection</strong> using AWS Network Firewall</li><li>Real-time security observability through centralized logging</li></ul><p>The goal is not to showcase tooling, but to demonstrate how <strong>foundational computer science concepts remain directly applicable</strong> to modern cloud, automotive, and telecom systems.</p><h3>1. Problem Context: Telemetry at Scale</h3><p>In real-world automotive and telecom environments:</p><ul><li>Vehicles, base stations, and edge nodes continuously emit telemetry</li><li>This data is often trusted implicitly once it reaches the cloud</li><li>Network-level inspection is frequently limited to perimeter controls</li><li>Validation logic is tightly coupled to application code</li></ul><p>These assumptions introduce risks:</p><ul><li>Malformed or malicious telemetry can propagate undetected</li><li>East–west traffic often bypasses inspection</li><li>Observability is fragmented across layers</li></ul><p>This PoC explores an alternative: <strong>treating telemetry as a formally defined language</strong>, and <strong>treating the network as an enforceable security boundary</strong>.</p><h3>2. Architectural Overview</h3><p>The architecture deliberately separates <strong>generation</strong>, <strong>validation</strong>, <strong>transport</strong>, and <strong>inspection</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VCws0MTwpPK4H-Rb3jwVLQ.png" /><figcaption>Architecture Diagram</figcaption></figure><p>This separation mirrors real production designs in:</p><ul><li>Connected vehicle backends</li><li>Telecom core and control-plane networks</li><li>Industrial IoT platforms</li></ul><h3>3. Telemetry Generation as a Compiler Problem</h3><p>Instead of generating arbitrary JSON payloads, telemetry behavior is defined using a <strong>small domain-specific language (DSL)</strong>.</p><p>Example</p><p>DEVICE car-001<br>SET speed = RAND 40 120<br>SET temperature = RAND 30 90<br>SET signal_strength = RAND 40 100<br>SET battery_level = RAND 20 100<br>SEND</p><h3>Why a DSL?</h3><p>From a systems perspective, this offers:</p><ul><li><strong>Explicit structure</strong> over ad-hoc payloads</li><li><strong>Deterministic execution</strong></li><li><strong>Predictable complexity</strong></li><li>Clear separation between <em>specification</em> and <em>execution</em></li></ul><p>The implementation follows a classic compiler pipeline:</p><ul><li>Parsing the DSL into tokens</li><li>Producing an intermediate representation (IR)</li><li>Interpreting IR to generate telemetry values</li></ul><p>This approach is directly analogous to how <strong>protocol stacks and control-plane configurations</strong> are handled in telecom systems.</p><h3>4. Input Validation Using Automata Theory</h3><p>Before telemetry is transmitted, it is validated using a <strong>Deterministic Finite Automaton (DFA)</strong>.</p><p>The DFA enforces:</p><ul><li>Presence and validity of device identity</li><li>Presence of at least one valid telemetry attribute</li><li>Rejection of malformed inputs before network transmission</li></ul><p>This reflects a fundamental principle in secure system design:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*0tSkAR97blf6cMX3HlFTSw.png" /><figcaption>Input Validation using Automata Theory</figcaption></figure><p>Invalid input should be rejected as early as possible.</p><p>Using a DFA ensures:</p><ul><li>Linear time complexity</li><li>Predictable behavior</li><li>Formal correctness guarantees</li></ul><p>Such validation patterns are common in:</p><ul><li>Signaling protocol parsers</li><li>Control-plane message validation</li><li>Embedded automotive systems</li></ul><h3>5. Network as a Security Control Plane</h3><p>On the cloud side, telemetry traffic is routed through a <strong>dedicated inspection layer</strong> using AWS Network Firewall.</p><p>Key characteristics:</p><ul><li>Stateful inspection</li><li>Application-layer protocol awareness</li><li>Explicit routing to prevent bypass paths</li><li>Inline enforcement, not passive monitoring</li></ul><p>This design ensures that <strong>all traffic — including east–west flows — is observable and enforceable</strong>, which is a common requirement in telecom core networks and automotive cloud platforms.</p><h3>6. Stateful Inspection and Enforcement</h3><p>The firewall operates using Suricata-based stateful rule groups, enabling:</p><ul><li>Protocol identification</li><li>Session tracking</li><li>Explicit allow / drop decisions</li><li>Detailed forensic logging</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PJi6KDnkedb9_AFymY70BA.png" /><figcaption>AWS Network Firewall Stateful Rule Group</figcaption></figure><p>Security events are logged centrally and include:</p><ul><li>Source and destination</li><li>Protocol and port</li><li>Inspection verdict</li><li>Contextual metadata</li></ul><p>This level of visibility is essential for:</p><ul><li>Incident response</li><li>Regulatory compliance</li><li>Root-cause analysis</li></ul><h3>7. Observability Through Centralized Logging</h3><p>All inspected traffic is exported to a centralized logging system, enabling:</p><ul><li>Correlation across flows</li><li>Detection of anomalous patterns</li><li>Post-event analysis</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-dY_ZSUoD7YR-TEt7P9OQ.png" /><figcaption>Logging Setup in AWS Network Firewall</figcaption></figure><p>Importantly, the logs demonstrate that:</p><ul><li>Even background system traffic is observable</li><li>Enforcement decisions are explicit and auditable</li><li>Security controls are verifiable, not assumed</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DZp6n1nNHcQWWw7XDGCXxQ.png" /><figcaption>Cloudwatch Logs for Traffic from Local PC to Target EC2 via Attacker EC2 passing through Network Firewall</figcaption></figure><p>This aligns closely with <strong>SOC and NOC operational requirements</strong>.</p><h3>8. Visualization and Functional Feedback</h3><p>A lightweight local dashboard provides functional visibility into telemetry values, without coupling visualization to cloud enforcement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZWoypPpwfOrbC6SWzc0_fA.png" /><figcaption>Sample dashboard Setup in Local PC</figcaption></figure><p>This mirrors production systems where:</p><ul><li>Visualization is often decentralized</li><li>Security controls remain centralized</li><li>Functional correctness and security are treated as orthogonal concerns</li></ul><h3>9. Relevance to Automotive and Telecom Systems</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mjsz2wNyvpnzohJa.jpg" /></figure><p>This PoC demonstrates secure edge-to-cloud telemetry patterns used in automotive systems, including formal data validation and backend inspection.</p><p>It mirrors telecom architectures through stateful control-plane traffic inspection and enforced east–west network security.</p><p>The design follows modern cloud security principles such as zero-trust networking and defense-in-depth with inline traffic inspection</p><h3>10. Key Takeaways</h3><p>This work demonstrates that:</p><ul><li>Classical computer science concepts are not obsolete</li><li>Formal validation improves security and reliability</li><li>Network-level enforcement remains a critical control point</li><li>Observability is as important as prevention</li></ul><p>Most importantly, it shows that <strong>innovation often comes from combining fundamentals with modern platforms</strong>, rather than replacing one with the other.</p><h3>11. Future Directions</h3><p>Potential extensions include:</p><ul><li>Formal grammar definitions for telemetry languages</li><li>Domain-specific Suricata rule sets</li><li>Integration with large-scale threat detection systems</li><li>Multi-region inspection architectures</li><li>Automated policy synthesis from telemetry specifications</li></ul><p>Hereby I have attached the Github repository URL for the AWS setup</p><p><a href="https://github.com/sivakumarpalanikumar/hybrid-digital-twin-network-security-poc.git">https://github.com/sivakumarpalanikumar/hybrid-digital-twin-network-<br>security-poc.git</a></p><h3>Conclusion</h3><p>As automotive and telecom systems continue to converge with cloud-native platforms, engineers must think across layers — from input validation to network enforcement.</p><p>This PoC represents a small but concrete step toward that integrated perspective.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b98bac026f8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5G Core Foundation: Deploying Open5GS WebUI & MongoDB with Monitoring Stack]]></title>
            <link>https://medium.com/@pksivakumar2000/5g-core-foundation-deploying-open5gs-webui-mongodb-with-monitoring-stack-75d72d1aaa97?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/75d72d1aaa97</guid>
            <category><![CDATA[telecom-innovation]]></category>
            <category><![CDATA[open5gs]]></category>
            <category><![CDATA[telecloud]]></category>
            <category><![CDATA[telecom-infrastructure]]></category>
            <category><![CDATA[teleai]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Wed, 08 Oct 2025 12:33:47 GMT</pubDate>
            <atom:updated>2025-10-08T12:33:47.543Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>“The telephone will unite mankind.”</strong><br> — <em>Alexander Graham Bell</em>, Inventor of the Telephone</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/665/1*1lkWVbxP81I46YiYvQMR-Q.avif" /></figure><p>Let’s break down the 5G magic into layers:</p><h3>1. Radio Layer (RAN — Radio Access Network)</h3><ul><li>This is the “air interface.”</li><li>Uses <strong>millimeter waves (mmWave)</strong>, <strong>sub-6 GHz</strong>, and <strong>low bands</strong> — like traffic lanes:</li><li><strong>Low band:</strong> Long range, slower (like highways).</li><li><strong>Mid band:</strong> Balanced coverage and speed.</li><li><strong>High band (mmWave):</strong> Superfast, short range (like high-speed bullet lanes).</li><li>Uses <strong>Massive MIMO (Multiple Input Multiple Output)</strong> — think of it as having <strong>hundreds of smart antennas</strong> focusing beams (beamforming) directly at devices for better efficiency.</li></ul><h3>2. Transport Layer (Backhaul + Fronthaul)</h3><ul><li>Moves data between RAN and the core.</li><li>Fiber or microwave links act like the “arteries” of the network.</li></ul><h3>3. Core Network (5G Core)</h3><ul><li>This is where 5G gets <em>smart</em>.</li><li>Built on <strong>Service-Based Architecture (SBA)</strong> — everything is modular microservices.</li><li>Supports <strong>Network Slicing</strong>:<br> You can create multiple “virtual networks” on one physical infrastructure.</li><li>Example: One slice for gamers (ultra-fast), another for IoT sensors (low power), and one for emergency services (ultra-reliable).</li></ul><h3>4. Edge Computing</h3><ul><li>Moves compute power closer to users.</li><li>Instead of sending every request to a distant data center, 5G processes it <strong>near the tower</strong> — reducing latency and enabling instant responses.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MjkD1ffI2wMAiaoaog1KLA.png" /></figure><h3>🌐 What is Open5GS?</h3><p><strong>Open5GS</strong> is an <strong>open-source implementation of a 4G/5G Core Network</strong> — a complete software-based system that lets you <strong>build and test your own mobile network</strong> (like a mini version of what carriers use, but for research and learning).</p><p>In short:</p><blockquote><em>🧠 Open5GS = “5G Core you can install on your laptop or lab server.”</em></blockquote><p>It’s developed in C and designed to interoperate with open-source RAN projects like <strong>srsRAN</strong>, <strong>OAI</strong>, or <strong>UERANSIM</strong> (for simulating user equipment and base stations).</p><p>Lets deploy this Open5GS in an EC2 and Visualize the open5gs webui and Mongo</p><pre>git clone https://github.com/open5gs/open5gs<br>cd open5gs<br>meson build - prefix=`pwd`/install<br>ninja -C build<br>ninja -C build install<br>cd ~/open5gs/docker<br>sudo docker compose up -d</pre><p>You should see open5gs-webui (in 9999 port) and open5gs-mongodb up and running!. Lets login open5gs-mongodb and insert users if needed</p><pre>sudo docker exec -it open5gs-mongodb mongo<br><br>use open5gs<br><br>db.users.insertOne({<br>    &quot;username&quot;: &quot;admin&quot;,<br>    &quot;password&quot;: &quot;open5gs&quot;,<br>    &quot;role&quot;: &quot;admin&quot;<br>})</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZuxRMFUoZnh9l66HpEgguw.png" /></figure><h3>DevOps: Making Telecom Agile</h3><p><strong>DevOps</strong> practices bring automation, CI/CD, and observability into telecom — enabling <strong>continuous delivery of network updates</strong> safely and fast.</p><h4>Key Roles of DevOps in 5G:</h4><ul><li><strong>CI/CD Pipelines:</strong> Automate code integration, testing, and deployment of network functions (e.g., AMF or SMF upgrades).</li><li><strong>Infrastructure as Code (IaC):</strong> Tools like Terraform or Ansible spin up network environments dynamically.</li><li><strong>Automated Scaling:</strong> Kubernetes autoscaling adapts network capacity in real time to user demand.</li><li><strong>Observability:</strong> Monitoring and logging pipelines ensure SLA compliance and fault recovery.</li></ul><p>How ELK and Grafana Fit Into the 5G Cloud Ecosystem?</p><p>In traditional telecom (3G/4G), network functions (like MME, SGW, PGW) were monolithic and hardware-tied.</p><h3>1. ELK Stack (Elasticsearch, Logstash, Kibana)</h3><p>In telecom, every component — from base stations to the 5G Core — generates tons of logs and metrics.</p><p><strong>ELK</strong> acts as the real-time analytics and troubleshooting powerhouse.</p><p>Here we have build some dashboards using scripts below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*he5SlgbmnWgBIIQne3qrVg.png" /></figure><p><a href="https://github.com/sivakumarpalanikumar/Grafana-ELK-Stack-Security-Monitoring/tree/main/ELK">https://github.com/sivakumarpalanikumar/Grafana-ELK-Stack-Security-Monitoring/tree/main/ELK</a></p><h3>2. Grafana: The Visualization Layer</h3><p>Grafana is often used <strong>alongside Prometheus or Loki</strong> to visualize <strong>real-time network metrics</strong>:</p><ul><li>Throughput, latency, session counts, packet loss, CPU/memory usage.</li><li>Used for <strong>NOC (Network Operations Center) dashboards.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qoCdifv0j2KiPEWyZhHgkA.png" /></figure><p><a href="https://github.com/sivakumarpalanikumar/Grafana-ELK-Stack-Security-Monitoring/tree/main/Grafana">https://github.com/sivakumarpalanikumar/Grafana-ELK-Stack-Security-Monitoring/tree/main/Grafana</a></p><p>An <strong>Open5GS Proof of Concept (POC)</strong> can evolve into a <strong>next-generation intelligent 5G testbed</strong> by integrating <strong>UERANSIM </strong>which<strong> s</strong>imulates UE and gNB entirely in software and perfect for <strong>lab testing</strong> — no RF hardware needed.</p><p>It can be integrated with <strong>srsRAN</strong>, and <strong>AI/ML analytics</strong> within a cloud-native DevOps environment. Open5GS provides the 5G Core, while <strong>UERANSIM</strong> simulates virtual UE and gNB connections for scalable lab testing, and <strong>srsRAN</strong> adds real RF-based RAN functionality for near-real-world experimentation.</p><p><strong>Conclusion</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*qtJnCFcFaYlXjtVV7_G6GQ.png" /></figure><ul><li>Ericsson (on their “On-Demand” 5G core / SaaS platform):</li><li>“Ericsson On-Demand … is more than a product, it’s an enabler of ambition. Today’s CTOs must move fast, scale smart, and lead their organizations into new commercial territory.” <a href="https://newswire.telecomramblings.com/2025/06/ericsson-and-google-cloud-team-up-to-deliver-carrier-grade-5g-core-as-a-service-built-with-ai-at-the-foundation/?utm_source=chatgpt.com">newswire.telecomramblings.com+2MarketScreener+2</a></li><li>Nokia (on AI / automation in networks):</li><li>“We deliver automation and intelligence — across the network, services, and directly to the customer with our AIOps solutions and services.”</li></ul><p>By containerizing these components on <strong>Kubernetes</strong>, automating deployments through <strong>CI/CD</strong>, and coupling them with <strong>observability tools</strong> like ELK and Grafana that can view UPF, SMF logs, AMF logs and real-time network data can feed <strong>AI/ML models</strong> that predict congestion, detect anomalies, and optimize QoS dynamically. This transforms a basic 5G core setup into a <strong>self-monitoring, adaptive, and intelligent 5G network lab</strong>, ideal for innovation, automation, and research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75d72d1aaa97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[End-to-End Bluetooth Audio Capture & Real-Time Cloud Streaming with Python for Industry 4.0]]></title>
            <link>https://medium.com/@pksivakumar2000/end-to-end-bluetooth-audio-capture-real-time-cloud-streaming-with-python-for-industry-4-0-0e715fb5f4aa?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e715fb5f4aa</guid>
            <category><![CDATA[bluetooth-audio-streaming]]></category>
            <category><![CDATA[iot-audio-monitoring]]></category>
            <category><![CDATA[bluetooth-a2dp-recording]]></category>
            <category><![CDATA[cloud-audio-streaming-aws]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Sun, 03 Aug 2025 17:48:56 GMT</pubDate>
            <atom:updated>2025-08-03T18:01:21.703Z</atom:updated>
            <content:encoded><![CDATA[<p>In <strong>Industry 4.0</strong>, capturing and analyzing real-time audio from machines, devices, or remote support calls can unlock powerful capabilities — like <strong>predictive maintenance</strong>, <strong>quality assurance</strong>, and <strong>smart factory automation</strong>.</p><p>This guide walks you through a <strong>Proof of Concept (PoC)</strong> that captures <strong>Bluetooth audio from a mobile device</strong>, streams it to an <strong>AWS EC2 server</strong>, and stores it in <strong>Amazon S3</strong> — all using Python and a simple cloud architecture.</p><p>Along the way, we’ll explain <strong>Bluetooth concepts</strong>, <strong>audio profiles</strong>, and <strong>loopback devices</strong>, ensuring you understand the technology powering this solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-MqxSgfFKtMHfVWj-nlfRA.png" /></figure><h3>🧠 1. Core Concept</h3><h3>Goal</h3><ul><li>Capture audio playing on a mobile phone (music, machine sound app, or a voice call)</li><li>Send it wirelessly via Bluetooth to a PC</li><li>Capture the sound internally (no microphone needed)</li><li>Stream it live to a cloud server</li><li>Save it in Amazon S3 for storage or AI processing</li></ul><h3>Why Bluetooth?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*R6TAuJ_ezCprCnpz" /></figure><ul><li>Wireless, plug-and-play connection</li><li>Works across phones and PCs</li><li>Supports high-quality audio streaming</li><li>Fits naturally into <strong>IoT and smart factory workflows</strong></li></ul><h3>🔑 2. Understanding the Key Technologies</h3><p>Before we dive into coding, it’s important to understand the building blocks of this solution:</p><h3>🔵 What is Bluetooth?</h3><p>Bluetooth is a <strong>wireless communication technology</strong> that allows devices to exchange data over short distances using <strong>2.4 GHz radio waves</strong>. It’s commonly used for connecting headphones, keyboards, smartphones, and IoT devices. Bluetooth is <strong>low-power</strong> and ideal for streaming audio or small amounts of data without cables.</p><h3>🎧 What is A2DP?</h3><p><strong>Advanced Audio Distribution Profile (A2DP)</strong> is a Bluetooth profile designed specifically for <strong>high-quality stereo audio streaming</strong> from one device (like a phone) to another (like Bluetooth speakers, headphones, or a PC).</p><ul><li><strong>Use case:</strong> Music streaming, machine sound monitoring</li><li><strong>Advantage:</strong> Delivers <strong>clear stereo sound</strong></li><li><strong>Limitation:</strong> One-way transmission (not suitable for two-way calls)</li></ul><h3>🎙️ What is Stereo Mix?</h3><p><strong>Stereo Mix</strong> is a <strong>virtual audio device</strong> available on some Windows PCs. It captures <strong>exactly what you hear</strong> from your computer’s speakers or headphones.</p><ul><li>Allows you to <strong>record or stream system-wide audio</strong></li><li>Mixes all sound sources (apps, browser, Bluetooth input)</li><li>Essential for capturing Bluetooth audio without a microphone</li></ul><h3>🔁 What is a Loopback Device?</h3><p>A <strong>Loopback Device</strong> works like Stereo Mix but is more versatile. It <strong>internally routes output audio as input</strong> that programs (like Python scripts) can access.</p><ul><li>No physical microphone required</li><li>Ideal for clean, lossless audio recording</li><li>Often used in <strong>audio routing software</strong> like VoiceMeeter or virtual audio drivers</li></ul><h3>📞 What is HFP (Hands-Free Profile)?</h3><p><strong>HFP</strong> is another Bluetooth profile used mainly for <strong>voice calls</strong> with car kits or Bluetooth headsets.</p><ul><li><strong>Two-way communication</strong> (microphone + speaker)</li><li>Optimized for <strong>voice clarity</strong>, not music</li><li>Lower bandwidth than A2DP</li><li>Used for phone calls or remote support voice streams</li></ul><h3>💻 3. System Setup</h3><h3>PC Setup</h3><ul><li>Enable <strong>Stereo Mix</strong> or install a <strong>Loopback audio driver</strong></li><li>Install Python and required libraries:</li></ul><pre>pip install sounddevice numpy boto3 scipy</pre><pre>import sounddevice as sd<br>print(sd.query_devices())</pre><p>Optional: Use <strong>VoiceMeeter</strong> for advanced audio routing</p><ul><li>Verify available audio devices</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*wpHsU3Zkb4j9iA79" /></figure><h3>Mobile Setup</h3><ul><li>Turn on <strong>Bluetooth</strong></li><li>Pair your phone with the PC (ensure <strong>A2DP</strong> is active)</li><li>Play audio (music, machine monitoring app, or call)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s-A9Ht4GhNvg7R0D" /></figure><h3>🧑‍💻4. Implementation</h3><h3>PC Client — Capture and Stream</h3><pre>import sounddevice as sd<br>import socket<br>import numpy as np<br>import logging<br><br>SERVER_IP = &#39;YOUR_EC2_PUBLIC_IP&#39;<br>SERVER_PORT = 5000<br>DEVICE_INDEX = 1           # Stereo Mix or Loopback device index<br>SAMPLE_RATE = 44100<br>CHANNELS = 2<br>LOG_FILE = &#39;stream_loopback.log&#39;<br><br>logging.basicConfig(<br>    filename=LOG_FILE,<br>    level=logging.INFO,<br>    format=&#39;%(asctime)s - %(levelname)s - %(message)s&#39;<br>)<br><br>def callback(indata, frames, time, status):<br>    if status:<br>        logging.warning(status)<br>    try:<br>        sock.sendall((indata * 32767).astype(np.int16).tobytes())<br>    except Exception as e:<br>        logging.error(f&quot;Sending audio failed: {e}&quot;)<br><br>try:<br>    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<br>    sock.connect((SERVER_IP, SERVER_PORT))<br>    logging.info(&quot;Connected to server.&quot;)<br><br>    with sd.InputStream(device=DEVICE_INDEX, samplerate=SAMPLE_RATE,<br>                        channels=CHANNELS, dtype=&#39;float32&#39;, callback=callback):<br>        input(&quot;🎧 Recording... Press Enter to stop.&quot;)<br><br>except Exception as e:<br>    logging.error(f&quot;Client error: {e}&quot;)<br>finally:<br>    sock.close()<br>    logging.info(&quot;Disconnected.&quot;)</pre><p><strong>EC2 Server — Receive and Save</strong></p><pre>import socket<br><br>HOST = &#39;&#39;#listens all interfaces<br>PORT = 5000<br><br>def main():<br>    with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:<br>        s.bind((HOST, PORT))<br>        s.listen(1)<br>        print(f&quot;Listening on port {PORT}...&quot;)<br>        conn, addr = s.accept()<br>        with conn, open(&quot;call_audio.raw&quot;, &#39;wb&#39;) as f:<br>            print(f&quot;Connected: {addr}&quot;)<br>            while True:<br>                data = conn.recv(4096)<br>                if not data:<br>                    break<br>                f.write(data)<br>        print(&quot;Audio saved to call_audio.raw&quot;)<br><br>if __name__ == &quot;__main__&quot;:<br>    main()</pre><p>Optional — Upload to Amazon S3</p><pre>import boto3<br><br>s3 = boto3.client(&#39;s3&#39;)<br>s3.upload_file(&#39;call_audio.raw&#39;, &#39;your-bucket-name&#39;, &#39;audio/call_audio.raw&#39;)</pre><h3>🏭 5. Real-World Applications in Industry 4.0</h3><ul><li><strong>Remote Machine Monitoring:</strong> Stream and analyze machine sounds for predictive maintenance</li><li><strong>Customer Support QA:</strong> Capture Bluetooth call audio for service quality audits</li><li><strong>Smart Factory Logging:</strong> Store operational sound logs for compliance and training</li><li><strong>IoT Sensor Integration:</strong> Stream environmental or device sounds into cloud-based analytics</li></ul><h3>✅ Conclusion</h3><p>This PoC shows how <strong>Bluetooth A2DP, Python, and AWS</strong> can enable <strong>real-time, cloud-based audio capture</strong> — a crucial capability for Industry 4.0 and future <strong>human-device collaboration in Industry 5.0</strong>.</p><p>✔️ <strong>Wireless and seamless:</strong> Uses existing Bluetooth tech<br> ✔️ <strong>Cloud-ready:</strong> Streams directly to EC2 and Amazon S3<br> ✔️ <strong>Flexible:</strong> Works for music, calls, or machine sound monitoring</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e715fb5f4aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Secure Local File Server Over Wi-Fi]]></title>
            <link>https://medium.com/@pksivakumar2000/secure-local-file-server-over-wi-fi-59e50801c654?source=rss-8593bf4715a------2</link>
            <guid isPermaLink="false">https://medium.com/p/59e50801c654</guid>
            <category><![CDATA[ip-mac-whitelist-auth]]></category>
            <category><![CDATA[wi-fi-lan-file-sharing]]></category>
            <category><![CDATA[docker-file-server-python]]></category>
            <category><![CDATA[secure-local-file-server]]></category>
            <category><![CDATA[offline-wireless-transfer]]></category>
            <dc:creator><![CDATA[Sivakumar Palanikumar]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 07:01:19 GMT</pubDate>
            <atom:updated>2025-07-20T10:03:13.881Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A Telecom Engineer’s Practical PoC</em></p><h3>What It Is</h3><p>A lightweight Python HTTP server inside Docker with IP &amp; MAC address whitelisting and Basic Auth — secure file sharing on a Wi-Fi LAN <strong>without internet</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WgmIOiZ9zgx-54mtCq70lQ.png" /></figure><h3>Wi-Fi ≠ Internet</h3><p>TermMeaningWi-FiLocal wireless network connecting devices (LAN)InternetGlobal network your Wi-Fi router may connect to</p><p>Your devices communicate locally using IPs like 192.168.x.x without internet dependency. So, even if the internet is off, file sharing works on the LAN.</p><h3>Advantages of This PoC</h3><ul><li><strong>Layered Security:</strong> IP + MAC filtering + HTTP Basic Authentication</li><li><strong>Portable:</strong> Dockerized for Windows, Linux, macOS, ARM</li><li><strong>Network Independent:</strong> Works fully offline on local Wi-Fi</li><li><strong>Lightweight:</strong> Minimal Python HTTP server footprint</li><li><strong>Auditable:</strong> Logs IPs, MACs, and auth events for compliance</li></ul><h3>Core Python Server Logic</h3><ul><li>Checks if client IP matches the allowed IP.</li><li>Retrieves MAC address from ARP table, compares with allowed MAC.</li><li>Validates HTTP Basic Auth credentials.</li><li>Denies unauthorized access with HTTP 401/403.</li><li>Runs inside Docker for isolation and portability.</li></ul><h3>Python Server Code (Simplified Snippet)</h3><pre>from http.server import SimpleHTTPRequestHandler<br>import socketserver<br>import base64<br>import argparse<br>import os<br>import subprocess<br><br># Set your credentials here<br>USERNAME = &quot;user&quot;<br>PASSWORD = &quot;pass&quot;<br><br># Your mobile&#39;s private IP and MAC address<br>ALLOWED_IP = &quot;&quot;       # Replace with your phone&#39;s local IP<br>ALLOWED_MAC = &quot;&quot;  # Replace with your phone&#39;s MAC in lowercase<br><br>def get_mac_for_ip(ip_address):<br>    &quot;&quot;&quot;<br>    Uses the system&#39;s ARP table to find MAC address for the given IP.<br>    Works on Linux/Mac/Windows with some differences.<br>    &quot;&quot;&quot;<br>    try:<br>        # Run arp command and capture output<br>        if os.name == &quot;nt&quot;:  # Windows<br>            cmd = [&quot;arp&quot;, &quot;-a&quot;, ip_address]<br>            output = subprocess.check_output(cmd, text=True)<br>            # Parse output like:  192.168.0.113          aa-bb-cc-dd-ee-ff     dynamic<br>            for line in output.splitlines():<br>                if ip_address in line:<br>                    parts = line.split()<br>                    if len(parts) &gt;= 2:<br>                        mac = parts[1].replace(&#39;-&#39;, &#39;:&#39;).lower()<br>                        return mac<br>        else:  # Unix/Linux/Mac<br>            cmd = [&quot;arp&quot;, &quot;-n&quot;, ip_address]<br>            output = subprocess.check_output(cmd, text=True)<br>            # Parse output like: ? (192.168.0.113) at aa:bb:cc:dd:ee:ff [ether] on en0<br>            for line in output.splitlines():<br>                if ip_address in line:<br>                    parts = line.split()<br>                    # find &quot;at&quot; and take next part as MAC<br>                    if &quot;at&quot; in parts:<br>                        idx = parts.index(&quot;at&quot;)<br>                        mac = parts[idx+1].lower()<br>                        return mac<br>    except Exception as e:<br>        print(f&quot;[ARP] Error retrieving MAC for IP {ip_address}: {e}&quot;)<br>    return None<br><br>class AuthHTTPRequestHandler(SimpleHTTPRequestHandler):<br>    def do_AUTHHEAD(self):<br>        print(f&quot;[AUTH] Sending 401 Unauthorized to {self.client_address[0]}&quot;)<br>        self.send_response(401)<br>        self.send_header(&#39;WWW-Authenticate&#39;, &#39;Basic realm=&quot;Login Required&quot;&#39;)<br>        self.send_header(&#39;Content-type&#39;, &#39;text/html&#39;)<br>        self.end_headers()<br><br>    def authenticate(self):<br>        auth_header = self.headers.get(&#39;Authorization&#39;)<br>        client_ip = self.client_address[0]<br><br>        # Step 1: Check IP whitelist<br>        if client_ip != ALLOWED_IP:<br>            print(f&quot;[ACCESS DENIED] IP {client_ip} is not allowed.&quot;)<br>            return False<br><br>        # Step 2: Check MAC whitelist by looking up ARP table<br>        mac = get_mac_for_ip(client_ip)<br>        if mac != ALLOWED_MAC:<br>            print(f&quot;[ACCESS DENIED] MAC {mac} for IP {client_ip} is not allowed.&quot;)<br>            return False<br><br>        # Step 3: Check HTTP Basic Auth header<br>        if auth_header is None:<br>            print(f&quot;[AUTH FAIL] No Authorization header from {client_ip}&quot;)<br>            return False<br><br>        try:<br>            auth_type, encoded = auth_header.split(&#39; &#39;, 1)<br>            if auth_type != &#39;Basic&#39;:<br>                print(f&quot;[AUTH FAIL] Unsupported auth type from {client_ip}: {auth_type}&quot;)<br>                return False<br>            decoded = base64.b64decode(encoded).decode(&#39;utf-8&#39;)<br>            username, password = decoded.split(&#39;:&#39;, 1)<br>        except Exception as e:<br>            print(f&quot;[AUTH FAIL] Error decoding credentials from {client_ip}: {e}&quot;)<br>            return False<br><br>        if username == USERNAME and password == PASSWORD:<br>            print(f&quot;[AUTH SUCCESS] User &#39;{username}&#39; authenticated from {client_ip} with MAC {mac}&quot;)<br>            return True<br>        else:<br>            print(f&quot;[AUTH FAIL] Invalid credentials from {client_ip}: user=&#39;{username}&#39;&quot;)<br>            return False<br><br>    def do_GET(self):<br>        if not self.authenticate():<br>            self.do_AUTHHEAD()<br>            self.wfile.write(b&#39;Access denied or authentication failed.&#39;)<br>            return<br>        super().do_GET()<br><br>    def do_HEAD(self):<br>        if not self.authenticate():<br>            self.do_AUTHHEAD()<br>            return<br>        super().do_HEAD()<br><br>if __name__ == &quot;__main__&quot;:<br>    parser = argparse.ArgumentParser()<br>    parser.add_argument(&quot;--host&quot;, default=&quot;0.0.0.0&quot;, help=&quot;Host/IP to listen on&quot;)<br>    parser.add_argument(&quot;--port&quot;, default=8000, type=int, help=&quot;Port to listen on&quot;)<br>    args = parser.parse_args()<br><br>    os.chdir(os.getcwd())<br><br>    with socketserver.TCPServer((args.host, args.port), AuthHTTPRequestHandler) as httpd:<br>        print(f&quot;Serving HTTP with Basic Auth and IP/MAC whitelist on http://{args.host}:{args.port}&quot;)<br>        print(f&quot;Allowed IP: {ALLOWED_IP}&quot;)<br>        print(f&quot;Allowed MAC: {ALLOWED_MAC}&quot;)<br>        print(f&quot;Username: &#39;{USERNAME}&#39;, Password: &#39;{PASSWORD}&#39;&quot;)<br>        print(&quot;Press Ctrl+C to stop.\n&quot;)<br>        try:<br>            httpd.serve_forever()<br>        except KeyboardInterrupt:<br>            print(&quot;\nServer stopped.&quot;)</pre><h3>Dockerfile for Deployment</h3><pre># Use official lightweight Python image<br>FROM python:3.11-slim<br># Set working directory inside container<br>WORKDIR /app<br># Copy server script into container<br>COPY server.py .<br># Expose port 8000<br>EXPOSE 8000<br># Run the server<br>CMD [&quot;python&quot;, &quot;server.py&quot;, &quot;--host&quot;, &quot;0.0.0.0&quot;, &quot;--port&quot;, &quot;8000&quot;]</pre><h3>How to Build and Run the Docker Container</h3><ol><li>Save your Python server code as server.py.</li><li>Save the Dockerfile as shown above.</li><li>Build the Docker image:</li></ol><pre>docker build -t secure-file-server .</pre><p>Run the container, mapping port 8000:</p><pre>docker run -d -p 8000:8000 secure-file-server</pre><p>Access the server from an allowed client via:</p><pre>http://&lt;server-ip&gt;:8000</pre><p>with your username and password.</p><h3>Real-World Use Cases</h3><p><strong>Manufacturing &amp; Industrial Automation</strong><br> Access machine logs or dashboards securely over plant Wi-Fi without internet. Authorized devices (MAC/IP whitelisted) connect via Dockerized Python server on rugged PCs or controllers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*4l-WPtjRzFkHAe2Ai5rPIg.png" /></figure><p><strong>R&amp;D Labs (Electronics, Robotics, IoT)</strong><br> Engineers wirelessly download firmware logs or data sets from devices like Raspberry Pi, avoiding cloud or USB transfers. Portable and internet-independent.</p><p><strong>Healthcare (Offline Diagnostics)</strong><br> Securely serve sensitive diagnostic data to authorized staff on hospital LANs. MAC/IP whitelisting and containerized deployment comply with data security rules.</p><p><strong>Enterprise IT / DevOps</strong><br> Quickly share build artifacts or logs internally with simple authenticated LAN access. Ideal for hackathons, test labs, or team collaborations.</p><h3>Summary</h3><p>This PoC offers a simple, secure way to share files locally on Wi-Fi networks without relying on internet, combining network-level filters with application-layer auth — perfect for telecom, lab, and secure environments.</p><h3>Conclusion &amp; Suggestions for Improvement</h3><p>This lightweight Python HTTP file server running inside Docker offers a practical, secure, and portable solution for local file sharing over Wi-Fi without internet dependency. By combining IP and MAC address whitelisting with HTTP Basic Authentication, it provides multiple security layers ideal for telecom engineers working in air-gapped or restricted network environments.</p><p><strong>To enhance this PoC for production or broader use, consider these improvements:</strong></p><ul><li><strong>Add HTTPS/TLS encryption:</strong> Protect credentials and data in transit from eavesdropping or man-in-the-middle attacks.</li><li><strong>Implement dynamic IP handling:</strong> Automate whitelist updates using DHCP reservations or real-time IP/MAC detection to handle changing client addresses.</li><li><strong>Support token-based or OAuth authentication:</strong> Integrate with enterprise identity providers for scalable, secure user management.</li><li><strong>Centralized logging &amp; monitoring:</strong> Forward logs to syslog servers or SIEM tools for real-time audit and incident response.</li><li><strong>Expand client support:</strong> Add support for mobile apps or scripts to automate file uploads/downloads.</li><li><strong>Scalability &amp; High Availability:</strong> Use load balancers or clustering if deploying in larger LANs with many clients.</li></ul><p>This PoC can serve as a strong foundation for secure local file sharing that balances simplicity, security, and portability.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59e50801c654" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>