1 Overview
This package lets you evaluate FLSEMI's DECT NR+ stack (ETSI TS 103 636: MAC, DLC and Convergence layers, mesh routing, Mode 1 link security) on Nordic Semiconductor nRF9151 hardware. It contains ready-to-flash firmware with a serial host interface, two example hosts, and an Embedded SDK for running your own application on the nRF9151.
1.1 Three ways to use it
The following image shows where your code runs in each case.
| Path | Your code runs on | Link | Start in |
|---|---|---|---|
| HIF-UART from a PC | a PC: Python, or C with nrplus-shell | the nRF9151 DK's USB serial port | chapters 4, 5 |
| HIF-UART from an nRF5340 | an nRF5340 DK: C with nrplus-shell | three wires to the module | chapter 5 |
| Embedded SDK | the nRF9151 itself (nRF Connect SDK, C) | none: function calls | chapter 6 |
2 Package contents
| Directory | Contents |
|---|---|
firmware/ | HIF-UART TRIAL images, one per board: nrf9151dk_hif_uart_TRIAL_r1724.hex (nRF9151 DK), mtc2n9151_hif_uart_TRIAL_r1724.hex (MTC.2 N9151, experimental); SHA256SUMS |
host/python/ | nrplus_hif_demo.py: a one-file PC host (pyserial) |
host/nrplus_shell/ | nrplus-shell: one C source for a PC (macOS, Linux, Raspberry Pi: port/posix, make) and for the nRF5340 DK (nRF Connect SDK port, in the package’s port/ folder), and a prebuilt nrplus_shell_nrf5340dk.hex |
sdk/ | the TRIAL Embedded SDK: library per board, basic API headers, six samples, guide |
doc/ | this manual |
test_logs/ | the test records behind chapter 9 |
LICENSE.txt | the evaluation licence |
3 Hardware and tools
| Item | Requirement |
|---|---|
| Radio boards | Nordic Semiconductor nRF9151 DK, or LooUQ MTC.2 N9151 (experimental). Two form a link, a third shows a relay forwarding, five make the largest trial network |
| Host for chapter 5 | a PC, or a Nordic Semiconductor nRF5340 DK and three jumper wires |
| Debug probe | nRF9151 DK and nRF5340 DK: on board. MTC.2 N9151: an external SWD probe, such as a second Nordic Semiconductor DK used as debugger, or a SEGGER J-Link |
3.1 Recommended development environment
| Item | Recommended | Tested with (2026-10-15) |
|---|---|---|
| Computer | a host the nRF Connect SDK v3.4.0 supports: macOS, Linux or Windows | macOS 27.0, Apple silicon |
| Modem firmware | Nordic Semiconductor's DECT NR+ PHY firmware 2.0.0 (mfw-nr+-phy_nrf91x1_2.0.0) on every nRF9151, programmed before the application | 2.0.0 |
| SDK and toolchain | nRF Connect SDK v3.4.0, exactly (the library is built against it), with its own toolchain, installed with nRF Util (nrfutil sdk-manager) or from nRF Connect for VS Code | as installed with nRF Connect SDK v3.4.0: west 1.5.0, CMake 4.2.1 |
| Editor | Visual Studio Code with the nRF Connect for VS Code extension pack (optional: west on the command line builds the same) | nRF Connect for VS Code 2026.9 |
| Programming | nRF Util (nrfutil device) or nRF Connect for Desktop (Programmer), with SEGGER J-Link software | nRF Util 8.2.1, J-Link V9.82 |
| PC host | Python 3.9 or later with pyserial; for nrplus-shell, a C compiler (clang or gcc) and make | Python 3.9.6, pyserial 3.5, Apple clang 21.0.0 |
| Serial terminal | any terminal at 115200 baud for consoles; the host interface itself runs at 1 000 000 baud | nRF Terminal, screen |
LICENSE.txt). In the United States, use Band 9 (carriers 1703–1711, 1.9 GHz) or Band 4 (525–551, 902–928 MHz) only; the examples use Band 9. Boards running this firmware are evaluation platforms, not FCC-authorized end products.4 HIF-UART from a PC
The nRF9151 DK serves the host interface on its UART1, which the DK's interface MCU presents as its second USB virtual COM port. A PC talks to it at 1 000 000 baud, 8N1, without flow control.
4.1 Program the boards
- Program the DECT NR+ PHY modem firmware 2.0.0 if the DK does not have it.
- Program
firmware/nrf9151dk_hif_uart_TRIAL_r1724.hexwith the Programmer (Erase & write) ornrfutil. Check the file againstSHA256SUMSfirst. - Repeat for every DK of the network.
4.2 A first session
On macOS the DK's port is /dev/cu.usbmodem<serial>3; on Windows the higher-numbered of the DK's two COM ports.
python3 nrplus_hif_demo.py PORT_A id # firmware, RD ID, "TRIAL build" when limited python3 nrplus_hif_demo.py PORT_A setup sink --carrier 1707 python3 nrplus_hif_demo.py PORT_B setup leaf --carrier 1707 # prints the parent python3 nrplus_hif_demo.py PORT_B send "hello" # to the parent python3 nrplus_hif_demo.py PORT_A rx --wait 3 python3 nrplus_hif_demo.py PORT_A send --to all "to every node" python3 nrplus_hif_demo.py PORT_B listen --wait 30 # prints as messages arrive python3 nrplus_hif_demo.py PORT_A who # every radio answers python3 nrplus_hif_demo.py PORT_B save # rejoin after power-up
4.3 Commands
| Command | What it does |
|---|---|
id | chip identity, version, Long RD ID, network, carrier, role |
setup sink|leaf [--carrier N] [--network ID] [--key HEX] | stop the running role, provision the network and key, require secured links, start the role |
status | role, association, the parent's RSSI and SNR |
send [--to ID|sink|all] TEXT | application data to the parent, a node, the sink, or every node; prints the delivery result |
rx [--wait S] | every message waiting in the receive ring |
listen [--wait S] | print messages as they arrive (event frames, no polling) |
who [--wait S] | ask every radio: RD ID, parent, children, sink or relay |
save | save the boot profile: the board rejoins in its role with no host |
r ADDR [LEN], w ADDR U32 | raw register access (chapter 7) |
--trace | print every UART frame |
5 nrplus-shell: a C host for a PC or an nRF5340
nrplus-shell drives a DECT NR+ module over the host interface and gives you every operation as a shell command. It is one C source with two ports: a PC (macOS, Linux, Raspberry Pi OS: cd host/nrplus_shell/port/posix; make; ./nrplus-shell PORT, PORT being the nRF9151 DK's second USB serial port) and the nRF5340 DK (nRF Connect SDK). It is also the reference for your own C host driver: src/hif.c is the whole link layer (frames, CRC, events), src/nrplus_cmds.c shows each operation as a register sequence, and a new host MCU needs only the seven functions of src/hif_port.h.
5.1 Wiring to an MTC.2 N9151 (experimental)
| nRF5340 DK | MTC.2 N9151 |
|---|---|
| D1 = P1.01 (UART1 TX) | edge pin 23 (module RX) |
| D0 = P1.00 (UART1 RX) | edge pin 21 (module TX) |
| GND | GND |
1 000 000 baud, 8N1, no flow control. Program the MTC.2 with firmware/mtc2n9151_hif_uart_TRIAL_r1724.hex through an SWD probe, and the nRF5340 DK with host/nrplus_shell/nrplus_shell_nrf5340dk.hex.
5.2 Commands
On the nRF5340 DK the shell is on its first virtual COM port, 115200 baud, prompt nrplus:~$; Tab completes. On a PC the prompt is the same and the leading word nrplus is optional.
| Command | What it does |
|---|---|
nrplus id | identify the module; shows "TRIAL build" |
nrplus net [network_id] [key] | network ID and 128-bit key for the next setup |
nrplus setup sink [carrier] | root of a mesh |
nrplus setup relay <join> <ft> | join on one carrier, serve children on another |
nrplus setup leaf [carrier] | join a parent |
nrplus setup hub [carrier], member [carrier] | star topology |
nrplus status, links | role and parent; every association with RSSI, SNR, security |
nrplus send [-t id|sink|all] <text> | application data, with the delivery result |
nrplus rx, listen [seconds] | read waiting messages; print as they arrive |
nrplus who [ms] | every other radio in the network |
nrplus save, reset | save the boot profile; stop the role |
nrplus reg read|write | raw register access |
nrplus trace [on|off], stats | frame trace; link counters |
6 Embedded SDK
The Embedded SDK puts the stack inside your own nRF9151 application as a prebuilt library. The trial edition exposes a basic API; the rest of the library is internal.
6.1 Build a sample
west build -b nrf9151dk/nrf9151/ns samples/mesh_sink -d build-sink west build -b nrf9151dk/nrf9151/ns samples/mesh_leaf -d build-leaf west flash -d build-sink # board 1 west flash -d build-leaf # board 2
Samples: mesh_sink, mesh_relay, mesh_leaf, star_ft, star_pt, and mesh_broadcast (any mesh role: -- -DEXTRA_CFLAGS=-DBCAST_ROLE=0 sink, 1 relay, 2 leaf). MTC.2 N9151: add -- -DBOARD_ROOT=$PWD/extboards. The console is the board's first virtual COM port, 115200 baud; the boot log says "TRIAL build".
6.2 The API
| Function | What it does |
|---|---|
nrstack_mac_event_handler_set(), nrdlcvg_event_handler_set() | link events and data-path events |
nrstack_init() | start the stack |
nrmac_prov_get(), nrmac_prov_set() | network ID and carrier |
nrmac_sec_key_set(), nrmac_sec_require_set() | network key; secured links only |
nrdlcvg_topology_set() | mesh or star |
nrmac_role_select() | sink, relay, leaf; star hub or member |
nrmac_identity_get(), nrmac_role_state(), nrmac_parent_actual() | this node, its role, its parent |
nrmac_link_count(), nrmac_link_view_get() | associations: peer, signal, secured |
nrmac_boot_profile_save() | rejoin in the same role after a power cycle |
nrcvg_ep_register(), nrcvg_ep_deliver_set() | receive on your endpoint |
nrcvg_ep_send() | to a direct neighbour |
nrcvg_ep_send_routed() | to the sink, a node, or every node (broadcast) |
nrdlc_route_rx_meta() | hop count and last hop of a received message |
nrstack_is_trial() | true in the trial build |
Pick endpoint numbers in ETSI TS 103 636-5 Annex A's Free use range (0x0100–0x40FF) at random, and avoid 0x2070–0x207F, which the stack uses. -EBUSY from a send means try again shortly; -ENOTCONN means no link yet.
7 Host interface basics
HIF-UART runs at 1 000 000 baud, 8N1, without flow control. The host sends a request and waits for the answer; one request is in flight at a time. A silence of more than 5 ms resynchronises the module's parser, so a lost byte costs one retry.
| Frame | Octets |
|---|---|
| Request | A5 | op | addr lo | addr hi | len | payload | crc lo | crc hi |
| Answer | 5A | op | addr lo | addr hi | len | data | status | crc lo | crc hi |
| Event | 5A | 03 | queue lo | queue hi | 08 | event[8] | 00 | crc lo | crc hi |
op 01 = read (len is the number of octets wanted), 02 = write (len is the payload length). The CRC is CRC-16/CCITT-FALSE (polynomial 0x1021, initial 0xFFFF, no reflection) over every octet after the start byte, sent low octet first. status 0 = success, otherwise an error code. Example, a four-octet read: A5 01 00 00 04 F0 B2. Addresses and values are little-endian.
The registers the examples use, with the sequences for starting a role, sending, receiving and saving, are listed in the TRIAL package (this manual's package edition and QUICKSTART.md), and shown in code in host/.
8 Network limits and troubleshooting
| Symptom | Cause and what to do |
|---|---|
| A node never gets a parent | The network already holds five devices, or its FT has used its trial share (sink 2, relay under the sink 1, deeper 0). Move it under another FT, or remove a device. |
| A relay is refused by the sink | The sink already has two children. The relay may find a place under a relay that is directly under the sink. |
| No parent after setup | Network ID, key or carrier differ from the parent's; or an old parent pin: setup clears it. |
| Timeouts on every request | Wiring (TX to RX), 1 Mbaud, the trial image programmed, the module powered; on the DK, the second COM port. |
| send: error -114 | No link yet (the node is still joining). |
| send: ring full | Results not yet read: read the pending send results until none is left, then send. |
| A message comes back to its sender | A broadcast can return once when the tree changes while it is in flight; filter on its content. |
9 Test results
Measured on FLSEMI's bench in Florida, Band 9, stack Rev 1.724, 2026-10-14 and 2026-10-15. The records are in test_logs/.
| Test | Setup | Result |
|---|---|---|
| Trial limit, mesh | 7 boards with the trial HIF-UART image, one network: a sink, three relays joining it, a leaf and a relay below them, one leaf two hops down | 5 devices in the network. The sink refused its third child; a node two hops down took none; two devices stayed outside |
| Trial limit, star | a hub and 6 members | 4 members joined; the other 2 were refused 4 times each and backed off |
| PC host on the trial image | 2 nRF9151 DKs, nrplus_hif_demo.py | leaf associated (RSSI -35 dBm, SNR 26 dB); unicast both ways and routed to the sink acknowledged; broadcast both ways received; who found the leaf; boot profile saved |
| Trial Embedded SDK | 3 nRF9151 DKs, mesh_broadcast as sink, relay and leaf, built outside the source tree | "TRIAL build" on every boot; 87 broadcasts in about 3 min, 0 refused; 100 % received at the sink and the relay, 92 % at the leaf, whose misses fell around its parent change |
| Trial Embedded SDK, build | the six samples for the nRF9151 DK, mesh_leaf for the MTC.2 N9151 | all built and linked |
| nrplus-shell, PC | macOS, 2 nRF9151 DKs on the trial image | every command run: id, setup sink / leaf / hub / member, status, links, send to the parent, a node, the sink and all, rx, listen, who, save |
10 The full version
The full version removes the five-device limit and comes with the complete API, the host-interface register reference and the developer documentation, under a licence agreement. Contact FLSEMI: hello@flsemi.us, flsemi.us. Boards ready for DECT NR+: see chapter 1.
LICENSE.txt. This document may be read, printed and shared unmodified. Nordic Semiconductor, nRF9151 and nRF5340 are trademarks of Nordic Semiconductor ASA; LooUQ and MTC.2 are trademarks of their owner.