KevsRobots Learning Platform
25% Percent Complete
By Kevin McAleer, 4 Minutes
This will feel familiar - it is the same flasher and the same process you used in part one, with a different firmware variant selected.
ROOM before you start. In an hour you will have three near-identical green boards on the deskIf the port list is empty, it is almost certainly the cable. That was true in part one and it is still true now.
Connect the console - either the console feature on the flasher page, config.meshcore.io, or a serial terminal at 115200 baud.
ver
get role
get radio
You should see a firmware version, a role of room server, and your radio parameters. Check them against the rest of your mesh:
| Setting | Expected |
|---|---|
| Frequency | 869.618 MHz |
| Bandwidth | 62.5 kHz |
| Spreading Factor | 8 |
| Coding Rate | 8 |
If anything is off:
set radio 869.618,62.5,8,8
reboot
Why this matters: a room server on the wrong settings is not a broken room server, it is an invisible one. It will sit there working perfectly, heard by nobody. This is the number one cause of βmy new node does not show upβ.
clock sync
Or from a plain terminal with no sync button:
time <unix-epoch-seconds>
Why this matters more here than on a repeater: a room server uses timestamps for sync points. Each client records where it got to, and the server works out what to send based on that. A room server with a badly wrong clock will deliver the wrong set of posts, or none at all, in a way that is genuinely confusing to debug.
The server also rejects logins whose timestamp is not newer than the last one it recorded from that client - a replay protection measure. A clock that jumps backwards can lock a client out until it catches up.
Set the clock. It takes five seconds and saves an evening.
get tx
A room server is fixed and mains powered, so there is no reason to be shy:
set tx 20
The valid range is 1 to 22 dBm, and the Heltec V3 tops out around 21 (Heltec quote 21 Β±1 dBm).
The OLED on a room server will show its name, uptime, and packet counters, much like the repeater. It will not show posts - the roomβs contents live in memory and are served over the radio, not displayed.
If the screen is blank but the board is warm, the flash probably failed partway. Flash it again; nothing is harmed by reflashing.
ver, board and get role and note what each returns. Compare get role against your repeater.get radio on the room server and on the repeater. Do the four numbers match exactly?get role changes, then flash it back to room server. Reflashing is cheap and being comfortable with it removes a lot of fear later.Problem: There is no Room Server variant listed for my board.
Solution: Check you selected the right board, and check the firmware version. If your hardware genuinely has no room server build, you will need to build it yourself from the MeshCore repository.
Why: Firmware variants are compiled per board. Not every supported board gets every role in the prebuilt list.
Problem: The console connects but every command returns nothing.
Solution: Check the baud rate is 115200, and press enter on a blank line first.
Why: Some terminals need a newline to wake the prompt, and any other baud rate turns the reply into noise.
Problem: set freq is rejected over the air.
Solution: Set frequency from the USB serial console instead.
Why: Frequency is serial-only for setting on some builds - deliberately, because changing it remotely instantly disconnects you from the node you are configuring.
You can use the arrows β β on your keyboard to navigate between lessons.
Comments