C# Class Yodiwo.Projects.RaspberryPi2Node.RaspNode

Show file Open project: yodiwo/plegma Class Usage Examples

Private Properties

Property Type Description
GenerateThingID string
OnChangedStateCb void
OnPairedCb void
OnTransportConnectedCb void
OnTransportDisconnectedCb void
OnTransportErrorCb void
OnUnexpectedMessageCb void
OnUnexpectedRequestCb ApiMsg
SetLedState void

Public Methods

Method Description
InitConfig ( ) : YConfig
RaspNode ( Transport transport ) : System
Start ( ) : void

Private Methods

Method Description
GenerateThingID ( ) : string
OnChangedStateCb ( Thing thing, Port port, string state ) : void
OnPairedCb ( NodeKey nodekey, string secret ) : void
OnTransportConnectedCb ( Transport Transport, string msg ) : void
OnTransportDisconnectedCb ( Transport Transport, string msg ) : void
OnTransportErrorCb ( Transport Transport, TransportErrors Error, string msg ) : void
OnUnexpectedMessageCb ( object message ) : void
OnUnexpectedRequestCb ( object request ) : ApiMsg
SetLedState ( LedPin eled, bool state ) : void

Method Details

InitConfig() public method

public InitConfig ( ) : YConfig
return YConfig

RaspNode() public method

public RaspNode ( Transport transport ) : System
transport Transport
return System

Start() public method

public Start ( ) : void
return void