0

CircuitPython RPC libraries?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CircuitPython RPC libraries?

by willgorman on Sun Aug 01, 2021 10:11 pm

Are there any libraries folks are aware of for doing something like RPC over serial with CircuitPython? I'm new to CircuitPython and I've got a MacroPad RP2040 that I want to issue commands (e.g. turn on neopixels, display text) to over the serial connection. Before slapping together my own kludgy protocol I wanted to see if there were existing libraries that would be helpful for something like that?

willgorman
 
Posts: 1
Joined: Sun Aug 01, 2021 10:01 pm

Re: CircuitPython RPC libraries?

by adafruit_support_mike on Tue Aug 03, 2021 2:44 am

No, CircuitPython doesn’t have hooks for remote execution. Keyword-based messaging through a Serial connection is the usual way of triggering actions on another device.

adafruit_support_mike
 
Posts: 63679
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.