FastLED 3.9.15
Loading...
Searching...
No Matches
AutoResearchRemoteControl Class Reference

Detailed Description

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::RemotegetRemote ()
 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::RemotemBleRemote
 
fl::net::ble::TransportState * mBleState = nullptr
 
bool mPendingBleStop = false
 
fl::unique_ptr< fl::RemotemRemote
 
fl::shared_ptr< AutoResearchStatemState
 

The documentation for this class was generated from the following files: