cMicroOrp  1.0.0
C code for microcontrollers - provides ORP remote interface
orp_output.h File Reference
#include "orp.h"

Go to the source code of this file.

Functions

int16_t orp_output_create_num (char *keyString)
 Register a numeric output in Octave Remote. More...
 
int16_t orp_output_registerCallback_num (char *keyString)
 Registers a callback inside the Octave edge device. More...
 

Function Documentation

◆ orp_output_create_num()

int16_t orp_output_create_num ( char *  keyString)

Register a numeric output in Octave Remote.

Parameters
keyStringNull terminated string that contains the remote path
Returns
A value of orpProtocol_txBuffer_size or more means that the output was truncated
See also
orp_protocol()

◆ orp_output_registerCallback_num()

int16_t orp_output_registerCallback_num ( char *  keyString)

Registers a callback inside the Octave edge device.

When data arrives on the flow the octave edge device triggers the callback registered with orp_protocol()
callback flow is – Octave Edge device (WP77xx) –ORP--> Microcontroller

Parameters
keyStringNull terminated string that contains the remote path
Returns
A value of orpProtocol_txBuffer_size or more means that the output was truncated
See also
orp_protocol()