Modbus Client Port

Hi everyone. I was following the example Cellular Modbus Client - Accelerators - Blues Developers to communicate a Modbus device with my Swan MCU (I’m using the starter kit).

I followed all the steps for connecting the NoteCarrier F to the RS-485 Transceiver Breakout.

I had some trouble compiling the firmware, as some instructions didn’t seem to apply to the current version of Platform IO, but I finally managed to compile and upload it.

However, when I tried to run communication tests, it didn’t seem to detect the serial connection. When I ran the pio device list command in a terminal, it only showed the USB serial port where the STLINK was connected.

And when I run the pio device monitor command, the result is this:

PlatformIO\Projects\modbus_client> pio device monitor
— Terminal on COM7 | 9600 8-N-1
— Available filters and text transformations: colorize, debug, default, direct, hexlify, log2file, nocontrol, printable, send_on_enter, time
— More details at Redirecting...
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

I’m not sure if I’m missing a command to “enable” the alternative serial connection mentioned in the tutorial: The command output lists all the serial devices and their logical names - look for the port corresponding to SWAN_R5 CDC in FS Mode.

Thanks in advance.