Search found 47 matches
- Tue Aug 16, 2022 7:25 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
What is the upydev global path? I cannot find it mentioned in the docs (https://upydev.readthedocs.io/en/latest ... ea=default) I do not use exactly "upydev global path" words in the docs but this is what I mean by e.g. in getting started docs--> Create configuration file : Upydev will use local wo...
- Tue Aug 16, 2022 12:52 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
upydev appears to require its config file to live in the current dir, but dsync also maps the current directory to the root of the upy device. This is not true, upydev requires a config file, in the current dir OR in upydev global path (just use -g flag with config command). So as default upydev wi...
- Mon Aug 15, 2022 8:35 pm
- Forum: Programs, Libraries and Tools
- Topic: How about a CPython library that interacts with REPL?
- Replies: 3
- Views: 5005
Re: How about a CPython library that interacts with REPL?
You may want to try upydevice which is the backend for upydev, so you should already have it installed.
Code: Select all
>>> from upydevice import Device
>>> client = Device("/dev/tty.usbmodem3370377430372", init=True)
>>> assert 3 == client.wr_cmd("1+2", rtn_resp = True)
3
>>>
- Mon Aug 15, 2022 8:15 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
It depends, not all commands work this way, upydev is intended to work with config files. Preferred method is e.g.: $ upydev config -t /dev/tty.usbmodem3370377430372 -g -@ mydevice Or if working with multiple devices $ upydev config -t /dev/tty.usbmodem3370377430372 -g -gg -@ mydevice Do you have an...
- Mon Aug 15, 2022 6:24 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
mmm I see, does command get, put work for you? I see now I forgot to mention a little detail here that should be in the help/docs info. You have two options: To sync from device add -fg flag as $ upydev dsync -d -fg (this switches off the faster get method which needs upysh.py) or add upysh.py $ upy...
- Mon Aug 15, 2022 5:07 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
Do you have experience with this tool? I cannot make it work. Yes I'm the author The online docs are sparse on details: I agree on that, probably I should explain better how dsync command works since it may be a bit confusing. Although every command has its own help info: $ upydev dsync -h usage: d...
- Sun Aug 14, 2022 9:53 pm
- Forum: Programs, Libraries and Tools
- Topic: Are there tools like 'ampy' and 'there' that support websocket connections?
- Replies: 15
- Views: 11204
Re: Are there tools like 'ampy' and 'there' that support websocket connections?
You may want to try upydev, works for serial, WebREPL and BLE.
- Tue May 10, 2022 2:52 pm
- Forum: Programs, Libraries and Tools
- Topic: Micropython Display To Pc Screen
- Replies: 15
- Views: 5936
Re: Micropython Display To Pc Screen
@cgglzpy I tried out the upydevice library but my experience was inconsistent. I have been able to turn on and off the built-in leds and read the directories once. After I had uploaded different programs to the pyboard, the upydevice program stopped communicating with the pyboard and I had to reset...
- Sat May 07, 2022 2:53 pm
- Forum: Programs, Libraries and Tools
- Topic: Micropython Display To Pc Screen
- Replies: 15
- Views: 5936
Re: Micropython Display To Pc Screen
@Zcannon78 You may want to have a look at upydevice and the examples with pyboard v1.1 and pyqt at https://github.com/Carglglz/upydevice/t ... s/pyqt-gui
- Sun May 02, 2021 1:42 pm
- Forum: ESP32 boards
- Topic: ESP32 simple SSL web server
- Replies: 2
- Views: 4568
Re: ESP32 simple SSL web server
Hi digitalblade, I don't know if the HTTPS server is possible right now, what I know is that SSL works when the computer acts as a server, also WebREPL can be wrapped into SSL connection, so in theory HTTPS server should be possible although I'm not 100% sure. You can read this issue in Micropython ...