Hello everyone,
I am trying to get a hang of the python API. For this I am trying to run a simple python script to send a message from one T-Beam V1.1 to another T-Beam V1.1. However, when I run the script I get a warning.
Warning: Multiple serial ports were detected so one serial port must be specified with the ‘–port’.
Ports detected:[‘COM3’, ‘COM4’]
I get this because both the T-beams are connected to the same laptop. So I run the script with the argument “–port COM3” but I get the same message again.
This is the code I am trying to run.
#pylint: skip-file
import meshtastic.serial_interface
interface = (
meshtastic.serial_interface.SerialInterface()
)
interface.sendText(“hello from a202”)
interface.close()
Is there a way to circumvent this obstacle?
One thing that I have tried is to add a “devPath” “interface”