Meshtastic-Android/core/model
James Rich 0724924f8c Fix channel calculation for NARROW_868 region
Correct the `numChannels` and `radioFreq` calculations to align with the firmware logic. This primarily affects the NARROW_868 region by properly accounting for channel spacing.

- Remove `regionInfo.spacing` from the `numChannels` numerator.
- Add `regionInfo.spacing` to the `radioFreq` calculation.
- Add tests to verify `numChannels` and `radioFreq` for the `NARROW_868` region.
2026-01-23 08:43:26 -06:00
..
src Fix channel calculation for NARROW_868 region 2026-01-23 08:43:26 -06:00
build.gradle.kts refactor: Enable test coverage and update CI (#4233) 2026-01-16 00:47:45 +00:00
consumer-rules.pro feat: Enable minification and add ProGuard rules (#3576) 2025-10-30 22:47:18 +00:00
detekt-baseline.xml feat(logging): Replace Timber with Kermit for multiplatform logging (#4083) 2025-12-28 14:30:15 +00:00
README.md feat(build): add module dependency graph generation (#4042) 2025-12-18 17:30:36 -06:00

:core:model

Module dependency graph

---
config:
  layout: elk
  elk:
    nodePlacementStrategy: SIMPLE
---
graph TB
  subgraph :core
    direction TB
    :core:common[common]:::kmp-library
    :core:model[model]:::android-library
    :core:proto[proto]:::android-library
    :core:strings[strings]:::kmp-library
  end

  :core:model -.-> :core:common
  :core:model -.-> :core:proto
  :core:model -.-> :core:strings

classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;
📋 Graph legend
graph TB
  application[application]:::android-application
  feature[feature]:::android-feature
  library[library]:::android-library
  jvm[jvm]:::jvm-library
  kmp-library[kmp-library]:::kmp-library

  application -.-> feature
  library --> jvm

classDef android-application fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-application-compose fill:#CAFFBF,stroke:#000,stroke-width:2px,color:#000;
classDef android-feature fill:#FFD6A5,stroke:#000,stroke-width:2px,color:#000;
classDef android-library fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-library-compose fill:#9BF6FF,stroke:#000,stroke-width:2px,color:#000;
classDef android-test fill:#A0C4FF,stroke:#000,stroke-width:2px,color:#000;
classDef jvm-library fill:#BDB2FF,stroke:#000,stroke-width:2px,color:#000;
classDef kmp-library fill:#FFC1CC,stroke:#000,stroke-width:2px,color:#000;
classDef unknown fill:#FFADAD,stroke:#000,stroke-width:2px,color:#000;