Skip to content

About

Open-source firmware for the MultiNav Pro+ long-range Bluetooth Low Energy (BLE) module based on STM32WB07. Designed for robotics, drones, industrial IoT, mesh networking and wireless telemetry.

Topics

Resources

Contributing

Stars

18 stars

Watchers

7 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiNav Pro+ BLE Module Firmware V2.5

Copyright © 2026 RFOXiA, Inc. — Licensed under the Apache License 2.0.

This firmware is open source: you are free to use, modify, and redistribute the code under the terms of the Apache-2.0 license. Note that the license explicitly excludes trademark rights (§6) — no rights are granted to the “MultiNav Pro+” or “RFOXiA” names, logos, or branding. The MultiNav Pro+ hardware design is proprietary to RFOXiA, Inc. and is not covered by this license.

📦 Ready-to-Flash Firmware — No Build Required

Don't want to build from source? Download the prebuilt V2.5 hex file from the latest release and flash it directly with STM32CubeProgrammer.

⬇️ Download the latest firmware hex


⚡ Get the MultiNav Pro+ Long-Range BLE Module

This firmware runs on the MultiNav Pro+ premium long-range BLE module — a compact STM32WB07-based module with Coded PHY long-range Bluetooth, integrated GNSS, multi-sensor telemetry, and motor control, ready to drop into your product.

➤ Explore the Premium BLE Module — rfoxia.com/premium-ble-module

📚 All documentation, resources, tutorials, and community support are available at RFOXiA Club — your hub for datasheets, integration guides, app downloads, and firmware updates: https://club.rfoxia.com/


📱 Companion App — RFOXiA Connect

Control, automate, and chat with your MultiNav Pro+ modules from your phone. RFOXiA Connect is the official companion app for this firmware — live sensor telemetry, motor control, automation routines, and internet-independent long-range chat with voice messages.

Download on the App Store  Get it on Google Play

Platform Link
iOS (App Store) https://apps.apple.com/us/app/rfoxia-connect/id6759990021
Android (Google Play) https://play.google.com/store/apps/details?id=com.rfoxia.club
App overview https://rfoxia.com/rfoxia-connect-app/

1. Overview

Firmware for the MultiNav Pro+ BLE module, based on the STM32WB07CC wireless microcontroller (Cortex-M0+, Bluetooth Low Energy 5.x).

Key capabilities:

  • Dual-role BLE — the module runs as a GATT server (for phones) and a GATT client (for peer modules) simultaneously, with module-to-module relay.
  • Long range — Coded PHY (S=8) support with high TX power (+8 dBm).
  • Chat relay — text/data messages relayed between a phone and a remote module, with ACK delivery receipts.
  • Multi-sensor telemetry — IMU, barometer, gas/air quality, magnetic, humidity, and GNSS positioning streamed over BLE notifications.
  • Motor / actuator control — dedicated GATT service for remote control commands.
  • Low-power operation — tiny LPM and sequencer-based scheduling.

For deep dives, see the companion guides:

Document Contents
ARCHITECTURE_AND_DESIGN.md System architecture, task scheduling, memory layout, design decisions
DUAL_ROLE_AND_CONNECTIONS.md Dual-role BLE, connection lifecycle, PHY negotiation, retry logic
INTEGRATION_AND_OPERATIONS.md Build, flash, and debug instructions; CubeMX configuration reference
SENSORS_AND_PERIPHERALS.md Sensor drivers, I²C/SPI/UART buses, DMA pipelines, GNSS integration
BUILD_INFO.txt Snapshot of the build configuration
docs/BLE Module System Diagram.pdf Full hardware system diagram (rendered below)

BLE Module

BLE Module

BLE Module


System Diagram

Full hardware system diagram of the MultiNav Pro+ BLE module (PDF version).

1. System Overview

System Overview

2. GNSS Module — MIA-M10Q (CON4)

BLE Module to GNSS Module

3. Sensors Module (CON3)

BLE Module to Sensors Module

4. Motors Driver & Battery Monitor (CON2)

BLE Module to Motors Driver and Battery Monitor

5. Programmer / Debugger — ST-Link (CON1) & HSE Oscillator

Programmer Debugger and HSE

6. RF Front-End

RF Front-End

7. External Interrupt Mapping

External Interrupts


2. Requirements

  • STM32CubeIDE 1.19.0 or later
  • ST-LINK (or compatible SWD probe) for flashing and debugging
  • Target hardware: MultiNav Pro+ module (STM32WB07CCVx)

3. Getting Started

📦 Option A — Use the Prebuilt Firmware (recommended, no build needed)

A ready-to-flash hex file is published with every release — no STM32CubeIDE or build environment required:

⬇️ Download the latest firmware hex (from Releases)

Then skip straight to the Flash section below.

🔨 Option B — Build from Source

  1. Open STM32CubeIDE
  2. File → Open Projects from File System… → select this Firmware/ folder
  3. Project → Clean Project
  4. Project → Build Project (Ctrl+B)
  5. Look for Build Finished. 0 errors. in the Console
  6. Output binary: Debug/BLE Pro test Debug.elf

Flash

Flash with STM32CubeProgrammer over SWD (recommended — flashing directly from the IDE often does not work correctly with this module):

  1. Connect an ST-LINK (V2/V3) to the module's SWD pins (see the system diagram below)
  2. Open STM32CubeProgrammer and connect (ST-LINK, SWD, Mode: Under reset if the target doesn't attach)
  3. Drag and drop the firmware hex file (prebuilt from Option A, or your own build from Option B) into STM32CubeProgrammer
  4. Press Download to flash the new firmware

See INTEGRATION_AND_OPERATIONS.md for detailed instructions and troubleshooting.


4. Repository Structure

Firmware/
├── README.md                        ← this file
├── ARCHITECTURE_AND_DESIGN.md       ← architecture & design guide
├── DUAL_ROLE_AND_CONNECTIONS.md     ← BLE dual-role & connection guide
├── INTEGRATION_AND_OPERATIONS.md    ← build / flash / debug guide
├── SENSORS_AND_PERIPHERALS.md       ← sensors & peripherals guide
├── BUILD_INFO.txt                   ← build configuration snapshot
├── BLE Pro test.ioc                 ← STM32CubeMX project (pin & peripheral config)
├── BLE Pro test Debug.launch        ← STM32CubeIDE debug/flash configuration
├── BLE Pro test Debug.cfg           ← Debug probe (OpenOCD) configuration
├── STM32WB07CCVX_FLASH.ld           ← Linker script (flash/RAM memory map)
├── .cproject / .project / .settings ← STM32CubeIDE (Eclipse CDT) project files
├── .mxproject                       ← CubeMX generation metadata
│
├── Core/                            ← Application core & sensor drivers
│   ├── Inc/                         ← Headers
│   │   ├── main.h, app_conf.h       ← App entry & BLE stack configuration
│   │   ├── app_entry.h, app_common.h
│   │   ├── ble_notification_queue.h ← Outbound BLE notification queue
│   │   ├── sensor_scheduler.h       ← Round-robin sensor sampling scheduler
│   │   ├── bmi270*.h, bmi2*.h       ← Bosch BMI270 IMU driver
│   │   ├── LPS22HH.h                ← ST LPS22HH barometer driver
│   │   ├── zmod4510*.h, zmod4xxx*.h, ulp_o3.h ← Renesas ZMOD4510 gas sensor (O₃/NO₂)
│   │   ├── tmag5273.h               ← TI TMAG5273 3-axis magnetic sensor
│   │   ├── mvh4000d.h               ← MVH4000D humidity sensor
│   │   ├── gnss_mia_m10q.h          ← u-blox MIA-M10Q GNSS receiver driver
│   │   ├── imu_dma.h, dma_config.h  ← Autonomous DMA pipelines
│   │   ├── i2c.h, spi.h, usart.h, gpio.h, rtc.h, rng.h, pka.h ← Peripheral setup
│   │   ├── radio.h, radio_timer.h   ← BLE radio & radio timer glue
│   │   ├── debug_log.h              ← UART debug logging
│   │   └── stm32wb0x_hal_conf.h, stm32wb0x_it.h ← HAL config & interrupt handlers
│   ├── Src/                         ← Implementations (one .c per header above)
│   │   ├── main.c                   ← System init & main loop
│   │   ├── app_entry.c              ← Application/BLE stack bring-up
│   │   ├── sensor_scheduler.c       ← Sensor sampling orchestration
│   │   ├── gnss_mia_m10q.c          ← GNSS UART/DMA parsing (NMEA/UBX)
│   │   └── …                        ← Sensor, bus, and system sources
│   └── Startup/
│       └── startup_stm32wb07ccvx.s  ← Vector table & reset handler (assembly)
│
├── STM32_BLE/                       ← BLE application layer
│   ├── App/
│   │   ├── app_ble.c/.h             ← BLE stack init, GAP, advertising, scanning
│   │   ├── dual_role_manager.c/.h   ← Central+peripheral dual-role state machine
│   │   ├── gatt_client_app.c/.h     ← GATT client (module-to-module link)
│   │   ├── chat_server.c/.h         ← Chat GATT service (definitions)
│   │   ├── chat_server_app.c/.h     ← Chat logic, relay & ACK delivery receipts
│   │   ├── sensor_server.c/.h       ← Sensor telemetry GATT service
│   │   ├── sensor_server_app.c/.h   ← Sensor notification logic
│   │   ├── motor_server.c/.h        ← Motor/actuator control GATT service
│   │   ├── motor_server_app.c/.h    ← Motor command handling
│   │   ├── bconnection_server.c/.h  ← Connection management GATT service
│   │   ├── bconnection_server_app.c/.h
│   │   ├── uart_relay_service.c/.h  ← UART-over-BLE relay service
│   │   └── ble_conf.h               ← BLE services configuration
│   └── Target/
│       ├── bleplat.c, bleplat_cntr.c ← BLE platform abstraction (radio glue)
│       └── blenvm.c/.h              ← BLE non-volatile memory (bonding storage)
│
├── Drivers/                         ← Vendor HAL & CMSIS (ST-provided)
│   ├── CMSIS/                       ← ARM CMSIS core + STM32WB0x device headers
│   └── STM32WB0x_HAL_Driver/        ← STM32WB0x HAL peripheral drivers
│
├── Middlewares/
│   └── ST/STM32_BLE/                ← ST BLE stack (link layer, host, PKA)
│       └── stack/                   ← Stack config, headers & prebuilt library
│
├── System/                          ← ST system layer
│   ├── Config/Debug_GPIO/           ← Debug pin mapping
│   └── Interfaces/                  ← HW interface glue (flash, RNG, PKA, radio)
│
├── Utilities/                       ← ST utility components
│   ├── sequencer/                   ← Cooperative task sequencer (main scheduler)
│   ├── lpm/tiny_lpm/                ← Low-power manager
│   ├── trace/adv_trace/             ← Trace/logging transport
│   └── misc/                        ← Memory & queue helpers
│
└── Projects/
    └── Common/BLE/                  ← Shared BLE project modules (queues, utils)

5. Firmware Highlights (V2.5)

  • Long-range peer link established on Coded PHY (S=8) — the module-to-module link is now established on Coded PHY rather than brought up on 1M and upgraded afterwards. Previously a link could carry data far beyond the range at which it could be re-established, so a momentary dropout stranded the remote node until it came back within 1M range. Receiver sensitivity is −104 dBm on Coded S=8 against −97 dBm on 1M.
  • Two concurrent advertising sets — set 0 legacy 1M for the phone, set 1 extended Coded for the peer module. Coded PHY advertising is only legal inside extended advertising, since legacy advertising PDUs are 1M-only by specification. The phone path is unchanged, so phones that do not scan Coded PHY still connect normally.
  • Correct BLUE RAM sizing — CFG_NUM_RADIO_TASKS is now a project-level -D so stm32wb0x_hal_radio.c, which never includes app_conf.h, reserves __blue_RAM for the same number of radio tasks the stack is initialised with. Previously the HAL default of 2 applied while the stack ran 4, so the controller addressed state machines past the reservation and wrote over .bss.
  • 48 GATT attributes configured — supports all five custom services simultaneously.
  • Robust connection sequencing — DLE → MTU exchange → CCCD subscribe, with the peer link already on Coded PHY.
  • Reason-gated reconnect — initiator-only retry on disconnect reasons 0x13/0x16, with connecting-state guard.
  • Peer classification — static-random-address detection distinguishes phone vs. module peers.
  • Chat relay with runtime handles — messages relayed phone ↔ module ↔ module with end-to-end ACK receipts.
  • GNSS pipeline — 192-byte DMA ring buffer, NMEA disabled via UBX-CFG-VALSET, UBX-only parsing with stream flush.
  • Bounds-checked advertising-data parsing — extended advertising reports carry up to 229 bytes against 31 for legacy, so the AD walk is fully bounded against malformed length bytes.
  • Scan duty cycle — 90 ms window per 100 ms interval, split across the PHYs being scanned so the phone link keeps its airtime.

6. License

Copyright © 2026 RFOXiA, Inc.

This firmware is licensed under the Apache License, Version 2.0 — see the LICENSE file. You may use, modify, and redistribute this code, commercially or otherwise, under the terms of that license.

Trademarks: per Section 6 of the Apache-2.0 license, this license does not grant any rights to the trade names, trademarks, or product names of RFOXiA, Inc. — including “RFOXiA” and “MultiNav Pro+” names, logos, and branding.

Hardware: the MultiNav Pro+ hardware design (schematics, PCB layout, antenna/RF design, mechanical design) is proprietary to RFOXiA, Inc., is not part of this repository, and is not covered by this license.

Third-party components retain their respective licenses:

  • STM32 HAL, BLE stack, CMSIS — STMicroelectronics / ARM license terms (see file headers)
  • BMI270 driver — Bosch Sensortec license (see file headers)
  • ZMOD4xxx driver — Renesas license (see file headers)

🔗 Links

Resource URL
🛒 MultiNav Pro+ Premium BLE Module https://rfoxia.com/premium-ble-module/
📚 Documentation & Resources — RFOXiA Club https://club.rfoxia.com/
📱 RFOXiA Connect app (iOS) https://apps.apple.com/us/app/rfoxia-connect/id6759990021
📱 RFOXiA Connect app (Android) https://play.google.com/store/apps/details?id=com.rfoxia.club
🌐 RFOXiA website https://rfoxia.com/

About

Open-source firmware for the MultiNav Pro+ long-range Bluetooth Low Energy (BLE) module based on STM32WB07. Designed for robotics, drones, industrial IoT, mesh networking and wireless telemetry.

Topics

Resources

Contributing

Stars

18 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages