Zsync HTTP-based File Transfer Utility Transfers Large Files Efficiently

Zsync WorkFlow Diagram

Zsync is an opensource file transfer utility built on top of rsync algorithm. This helps to download partial/differential files over the HTTP protocol. The utility allows downloading only new parts of a file from a centralized location,  where the older version of the file is already within your computer. While rsync is for syncing data from one computer to another,  zsync allows file distribution, where the file hosted in a server using any web server can be distributed to many and downloaded seamlessly. How it works The command-line utility will do all the differential calculations in the client, instead of doing it in the server as in rsync. Server metadata will be created only once and stored as part of the control file. And rest of the operations and decision making will be handled by the client-side application. This will reduce the huge processing needed on the server-side, even when thousands of clients are trying to fetch the file. Server …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Tuya helps you easily Design & Manufacture your own Smart Home Solutions

I was recently informed about LSC Smart Connect 3 door sensor selling on Action discounter with over 600 stores across the Netherlands, Belgium, France, Germany, Luxembourg, Austria, and Poland. The door sensor is based on ESP8266, and people have bought a few and flashed their own open source firmware converting the device into a multi-purpose sensor device with ESPNOW protocol that enables direct and low-power control of Espressif devices without the need of a router. The module inside the door sensor is called TYWE3S, which one document on the FCC website refers to as “Tuya WiFi module” and further mentions “TYWE3S is a low-power consumption module with built-in Wi-Fi solution designed by Hangzhou Tuya Technology Corporation” that is based on ESP8266 WiSoC with 1MB flash, 50 kB RAM. One person in the LetsControlIt forum thread linked above explains the stock firmware can be updated over-the-air via a Raspberry Pi 3/3+ board using a project named Tuya-Convert. That looks fun already, …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

UpSwift – Manage IoT & Embedded Linux Devices Easily & Quickly

UpSwift

UpSwift offers a GUI based management interface to their customers to update, manage, control & diagnose IoT and embedded devices. The solution also supports OTA updates to any device which is running the Linux operating system including Raspberry Pi board and other Arm SBC’s. Because of the pull-based, client/server architecture, the client-side binary looks for updates in configurable frequent interval and executes the changes and updates. The communication between the client and the server is established over secured REST API’s. By monitoring the applications logs and other device parameters, UpSwift’s Cloud-Smart engine is capable of behaving intelligently by sending email alerts to the administrator. UpSwift Basic WorkFlow Post-registration and package selection with UpSwift Cloud-based dashboard, customers can start adding their devices into UpSwift dashboard. Depending upon the selected plans (number devices connected, features, etc.. will vary depends on the plan chosen), customers will be able to manage their products remotely. And post device registration, you will be able to download/install …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How to Sandbox an arm64 GCC on aarch64 Hardware with armv7 Userspace

Arm64 GCC Armv7 Userspace

CNXSoft: Guest post by Blu about setting up arm64 toolchain on 64-bit Arm hardware running a 32-bit Arm (Armv7) rootfs. Life is short and industry progress is never fast enough in areas we care about. That’s an observation most of us are familiar with. One would think that by now most aarch64 desktops would be running arm64 environments, with multi-arch support when needed. Alas, as of late 2019, chromeOS on aarch64 is still shipping an aarch64 kernel and an armhf userspace. And despite the fine job by the good folks at chromebrew, an aarch64 chromeOS machine in dev mode ‒ an otherwise excellent road-warrior ride, is stuck with 32-bit armhf. Is that a problem, some may ask? Yes, it is ‒ aarch64 is the objectively better arm ISA outside of MCUs, from gen-purpose code to all kinds of ISA extensions, SIMD in particular. That shows in contemporary compiler support and in the difference in quality of codegen. Particularly with the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Github Has Restricted Accounts of Users from US Sanctioned Countries

Countries such as North Korea, Iran, or Syria, as well as specific zones such as Crimea, are US sanctioned countries, meaning you are not supposed to do business with them. If you’ve recently opened a business bank account, you may have had to sign a document confirming you will not do any business with entities in those sanctioned areas at the risk of losing access to your bank account. For physical goods that’s pretty straightforward, but for online services, there’s more of a grey area, as people tend to move around. Nevertheless, there have been reports sanctions are now affecting users in Iran and Crimea, as Github has started to restrict the account of users who are registered in US sanctioned countries. Github is now owned by Microsoft, and large multinationals can’t just fly under the radar, and ignore rules and regulations. It all started from reports from users from Crimea and Iran, who are lost access to their Github …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Launching Embedded Systems Jobs Board and Company Database

Embedded Systems Job Website

CNX Software writes news, reviews and tutorials about embedded systems, open source, or other topics useful to makers and companies, so we thought it might be useful to get a place where embedded systems companies can be listed and publish related jobs. For that reason, we’ve now designed and launched an embedded systems jobs board in order to help companies find employees or freelancers that can help them achieve their goals. Even if companies have no open positions right now, they are invited to add themselves to the list of companies as they may also be contacted by prospective customers if they wish too. Please, only relevant companies, as we reserve the right to delete entry’s for your spouse’s hair salon or bakery ;).  Once a company is registered they can post jobs in one of five categories: Hardware, Software, Support & Documentation, Manufacturing, and Sales & Marketing. Let me know if we should add other categories.  For remote jobs, …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

KB-IDE Open Source IDE Supports ESP-IDF, Arduino, and Visual Programming for ESP32 Boards

KBIDE

We’ve previously written about MakerAsia when covering their KBX Extension case for Kidbright ESP32 educational board. The company has now launched a new product, but it’s not an hardware platform, and instead KB-IDE is an open IDE (Integrated Development Environment) ESP32 boards. The IDE is suitable whatever your level from kids getting started with supports visual programming, to Arduino programming, and even the official Espressif ESP-IDF framework for more experienced makers. The IDE comes with with a Board Manager, a Plugins System and works with any Arduino Library out of the box. Made with Vue.js framework, KB-IDE is open source with the code available on Github.  You can install a binary release, or build it from source for Windows, Linux, or Mac OS. Since it’s open source, it’s also expandable so makers can customize it, for instance by adding new architectures (AVR and ARM are already planned), new boards,  creating plugins and/or adding libraries. I’ve found KD-IDE to be quite …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

SAUCS is a Search Engine for Security Vulnerabilities (CVE Database)

SAUCS MDM9206 CVE

Every so often we hear about critical security vulnerabilities in the news, but new ones are actually discovered daily, so it would be nice to have some sort of search engine to find out which known security vulnerabilities a given product or processor may have before purchasing it, or even more importantly starting a project. SAUCS does just that by having robots checking out the CVE update list, parsing the XML feed and formatting it. You can search for products or process, or subscribe to the vendors and products you want, and receive an email as soon as new changes as detected. I found out about SAUCS thanks to a comment from Thomas who pointed out the Qualcomm MDM9607 processor found in Quectel EC25 LTE module had a fairly long list of CVE (Common Vulnerabilities and Exposures) entries while using the default? firmware as shown in the screenshot above. Each CVE entry is ranked by its CVSS (Common Vulnerability Scoring …

Support CNX Software – Donate via PayPal or become a Patron on Patreon