Skip to content

Instantly share code, notes, and snippets.

View doevelopper's full-sized avatar

Adrien H doevelopper

  • Versailles
View GitHub Profile

Short answer: Yes. With a SIM7600G‑H 4G HAT you can run a PPP data session for Internet access and, at the same time, read GNSS (GPS/BeiDou/GLONASS/Galileo) position—because the module exposes multiple USB serial interfaces: one used by PPP for the data call, one (or more) for AT commands, and one that can stream NMEA from the GNSS. [files.waveshare.com], [altronics.cl]


How it works on SIM7600G‑H

  • Multiple USB ports: When connected over USB, the SIM7600 typically enumerates several /dev/ttyUSBx interfaces—commonly:
    • a modem/data port that PPP uses (often /dev/ttyUSB3),
    • an AT command port (often /dev/ttyUSB2),
  • an NMEA/GNSS port for continuous GPS sentences (often /dev/ttyUSB1).

pip install --user pipx

reuse-annotate:

> pipx run reuse annotate src tests --license=\"GPL-3.0-or-later\" 
    --copyright=\"2015-2023 Artur Weigandt https://wlabs.de/kontakt\" 
    --recursive --exclude-year --copyright-style=\"spdx\""
@doevelopper
doevelopper / EngineeringProjectWorkflow.md
Created April 20, 2025 15:58
# Engineering Project Workflow: Procurement to Delivery

Engineering Project Workflow: Procurement to Delivery

Phase 1: Project Initiation and Procurement

Procurement Document Received

  • System logs receipt of procurement document
  • Notification sent to Program Director and Project Management Office
  • Automated document classification and preliminary analysis

Project Authorization

@doevelopper
doevelopper / SerialAHL.md
Created May 9, 2024 12:38
I2C, SPI,RS232

In Object-Oriented Programming (OOP) with respect to the SOLID design pattern, you can abstract I2C, SPI, and RS232 communication by creating interfaces (abstract classes) for each communication protocol. The interfaces would define methods for reading and writing data, as well as setting up the communication parameters.Here's an example in C++, using the Boost.Asio library for non-blocking I/O:

#include <boost/asio.hpp>
  SwRS-ESC-001-[C|E|M|R|O]-nn-v, where:
    •	nn is the id number of the requirement. 
    •	v is the version of the requirement.
    •	Type of requirement
        o	Mandatory: Norm related requirement: Requirement must be implemented end tested 
        o	Required: Requirement must be implemented and tested
        o	Optional: Requirement may or may not be implemented
        o	Enhancement: Requirement is not required now, but may be in the future.
 o	Conditional;
Downloading and Extracting Packages:

Preparing transaction: done
Executing transaction: - 

    Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
    More details are available here: https://intel.github.io/scikit-learn-intelex

    For example:
@doevelopper
doevelopper / lsbl.md
Created March 31, 2024 10:49
ro HDD on

Open a terminal and run

  lsblk --fs
NAME   FSTYPE   FSVER LABEL   UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0  squashfs 4.0                                                      0   100% /snap/bare/5
loop1  squashfs 4.0                                                      0   100% /snap/core20/2105
@doevelopper
doevelopper / Dockerfile.md
Created January 21, 2024 11:21
Buildroot docker file ...
FROM ubuntu:22.04
MAINTAINER Adam Duskett <aduskett@gmail.com>

ENV DEBIAN_FRONTEND=noninteractive 
ENV TZ=US/Pacific

RUN set -e; \
  apt-get update; \
  apt-get install -y apt-utils; \

Cointreau

1/2 louche de sucre liquide (canadou)
1 louche de jus de citron jaune
1/2 louche de curaçao bleu
1 louche de Cointreau
1 bouteille de crémant brut
 
Variante perso : j'ajoute qq framboises congelées pour la déco et la fraicheur
@doevelopper
doevelopper / fleet.md
Created November 27, 2023 16:58
My c++ configuration files for Jetbrqains fleet
{
    "configurations": [
        {
            "type": "command",
            "name": "Create Build and Dependencies Directory",
            "program": "/opt/cmake/bin/cmake",
            "args": [
                "-E",
                "make_directory",