Here is a solution that others may find useful,
https://github.com/sistemicorp/p01-upyrpc
Search found 5 matches
- Fri Oct 25, 2019 8:53 pm
- Forum: General Discussion and Questions
- Topic: Remote calling functions on micropython
- Replies: 4
- Views: 2714
- Fri Oct 11, 2019 5:42 pm
- Forum: General Discussion and Questions
- Topic: Lock causing intermittent crash
- Replies: 5
- Views: 2692
Re: Lock causing intermittent crash
Thank you for the response. In my project, I am using one thread, but it doesn't access the shared function/variable. I didn't realise Lock wasn't for the general case (without threads). I always try to make a minimal code snippet to repro an issue, and I found that the thread I was creating didn't ...
- Thu Oct 10, 2019 9:39 pm
- Forum: General Discussion and Questions
- Topic: Lock causing intermittent crash
- Replies: 5
- Views: 2692
Lock causing intermittent crash
I thought I was "doing the right thing" by protecting a variable with a lock, but I have discovered that using the lock is causing a hard crash. To create a small snippet to demonstrate the issue, I started with code from here . I am using MicroPython, >>> os.uname() (sysname='pyboard', nodename='py...
- Sun Aug 05, 2018 6:35 pm
- Forum: General Discussion and Questions
- Topic: Remote calling functions on micropython
- Replies: 4
- Views: 2714
Re: Remote calling functions on micropython
Thanks Dave,
`That's pretty much what you need to do.`
Of the 3 possibilities that I mention, which one were you referring to?
I have no security requirements.
Martin
`That's pretty much what you need to do.`
Of the 3 possibilities that I mention, which one were you referring to?
I have no security requirements.
Martin
- Sat Aug 04, 2018 4:17 pm
- Forum: General Discussion and Questions
- Topic: Remote calling functions on micropython
- Replies: 4
- Views: 2714
Remote calling functions on micropython
How can I call a function from the PC and execute on micropython? I found this, https://forum.micropython.org/viewtopic.php?f=6&t=1020&hilit=pc+control&start=10 and a few references to this, https://github.com/dhylands/json-ipc I have a PC side Python application that needs to control the pyboard, a...