-
My goal is: utilize the --port flag in mos tool to run RPC over MQTT
-
My actions are:
Attempted to use port flag to run RPC over MQTT, but always got the Unknown command result.
Tried simpler useage (local machine) and port option still fails.
When local port is selected and port option flag is omitted, commands succeed, indicating an issue with the “–port” flag itself.
Tested with 2 different computers, 2 different OS(windows 10, windows 11), 2 different Browsers(chrome, Firefox), and 2 different builds (release and latest[202303131403])
all setup according to Mongoose OS Documentation and cloned the demo-js app.
- The result I see is:
every time I run the mos command with --port option, Unknown command is returned.
$` mos version
The Mongoose OS command line tool
Version: 2.20.0
Build ID: 20211215-002601/2.20.0-g0278853
Update channel: release
Command completed.
$ mos ports
COM14
COM17
COM18
COM5
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
$ mos flash
Port not chosen
Command completed.
$ mos flash
Loaded app1/esp32 version 1.0 (20240611-151204)
…{omitted program loaded logs}
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
$ cd C:/mos/problem/app1
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
$ mos version
The Mongoose OS command line tool
Version: 202303131403
Build ID: 20230313-145707/2.20.0-20-gb44964e-master
Update channel: latest
Command completed.
$ mos ports
COM14
COM17
COM18
COM5
Command completed.
$ mos --port COM14 flash
Unknown command
Command completed.
- My expectation & question is: what am I doing wrong?
Is this a setup issue? a Windows issue? a syntax issue?