|
FastLED 3.9.15
|
Remote RPC control system for test autoresearch Encapsulates all RPC function registration and processing logic.
Definition at line 65 of file AutoResearchRemote.h.
#include <AutoResearchRemote.h>
Collaboration diagram for AutoResearchRemoteControl:Public Member Functions | |
| AutoResearchRemoteControl () | |
| Constructor. | |
| ~AutoResearchRemoteControl () | |
| Destructor. | |
| fl::Remote * | getRemote () |
| Get underlying Remote instance. | |
| void | registerFunctions (fl::shared_ptr< AutoResearchState > state) |
| Register all RPC functions with shared autoresearch state. | |
| fl::json | startBleRemote () |
| Start BLE remote (creates BLE GATT server + second Remote instance) | |
| fl::json | stopBleRemote () |
| Stop BLE remote (destroys BLE Remote + GATT server) | |
| void | tick (uint32_t current_millis) |
| Process RPC system (pull + tick + push) | |
Private Member Functions | |
| fl::json | findConnectedPinsImpl (const fl::json &args) |
| void | registerAllMethods (fl::Remote *remote) |
| Register all RPC methods on a given Remote instance. | |
| fl::json | runParallelTestImpl (const fl::json &args) |
| fl::json | runSingleTestImpl (const fl::json &args) |
Private Attributes | |
| fl::unique_ptr< fl::Remote > | mBleRemote |
| fl::net::ble::TransportState * | mBleState = nullptr |
| bool | mPendingBleStop = false |
| fl::unique_ptr< fl::Remote > | mRemote |
| fl::shared_ptr< AutoResearchState > | mState |