Gateway#
API and Callbacks for the Gateway Component.
Software that supports a CLI based application running on a gateway-style device that has a POSIX compatible operating system. This plugin is NOT compatible with an system-on-a-chip (SOC) platform.
API#
const bool
void
gatewayBackchannelStop(void)
EmberStatus
backchannelStartServer(uint8_t port)
EmberStatus
backchannelStopServer(uint8_t port)
EmberStatus
backchannelReceive(uint8_t port, char *data)
EmberStatus
backchannelSend(uint8_t port, uint8_t *data, uint8_t length)
EmberStatus
backchannelClientConnectionCleanup(uint8_t port)
backchannelCheckConnection(uint8_t port, bool waitForConnection)
EmberStatus
EmberStatus
backchannelCloseConnection(uint8_t port)
EmberStatus
backchannelServerPrintf(const char *formatString,...)
EmberStatus
backchannelClientPrintf(uint8_t port, const char *formatString,...)
EmberStatus
backchannelClientVprintf(uint8_t port, const char *formatString, va_list ap)
Enumerations#
enum
Typedefs#
typedef uint8_t
API Documentation#
backchannelSupported#
const bool backchannelSupported
Definition at line
52
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelEnable#
bool backchannelEnable
Definition at line
53
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelSerialPortOffset#
int backchannelSerialPortOffset
Definition at line
54
of file app/framework/plugin-host/gateway/gateway-support.h
gatewayBackchannelStop#
void gatewayBackchannelStop (void )
Parameters
N/A |
Definition at line
56
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelStartServer#
EmberStatus backchannelStartServer (uint8_t port)
Parameters
N/A | port |
Definition at line
58
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelStopServer#
EmberStatus backchannelStopServer (uint8_t port)
Parameters
N/A | port |
Definition at line
59
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelReceive#
EmberStatus backchannelReceive (uint8_t port, char * data)
Parameters
N/A | port | |
N/A | data |
Definition at line
60
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelSend#
EmberStatus backchannelSend (uint8_t port, uint8_t * data, uint8_t length)
Parameters
N/A | port | |
N/A | data | |
N/A | length |
Definition at line
61
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelClientConnectionCleanup#
EmberStatus backchannelClientConnectionCleanup (uint8_t port)
Parameters
N/A | port |
Definition at line
63
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelCheckConnection#
BackchannelState backchannelCheckConnection (uint8_t port, bool waitForConnection)
Parameters
N/A | port | |
N/A | waitForConnection |
Definition at line
65
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelMapStandardInputOutputToRemoteConnection#
EmberStatus backchannelMapStandardInputOutputToRemoteConnection (int port)
Parameters
N/A | port |
Definition at line
68
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelCloseConnection#
EmberStatus backchannelCloseConnection (uint8_t port)
Parameters
N/A | port |
Definition at line
69
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelServerPrintf#
EmberStatus backchannelServerPrintf (const char * formatString, ... )
Parameters
N/A | formatString | |
N/A |
Definition at line
70
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelClientPrintf#
EmberStatus backchannelClientPrintf (uint8_t port, const char * formatString, ... )
Parameters
N/A | port | |
N/A | formatString | |
N/A |
Definition at line
71
of file app/framework/plugin-host/gateway/gateway-support.h
backchannelClientVprintf#
EmberStatus backchannelClientVprintf (uint8_t port, const char * formatString, va_list ap)
Parameters
N/A | port | |
N/A | formatString | |
N/A | ap |
Definition at line
72
of file app/framework/plugin-host/gateway/gateway-support.h