| aStem_CreateRelayStream | Index |
Definition:
| aLIBRETURN aStem_CreateRelayStream( | aStemLib stemRef, const unsigned char nAddress, aStreamRef pStreamRef, aErr* pErr); |
Parameters:
| stemRef | - | A pointer to the opaque stem reference used for sending the packet. |
| nAddress | - | The address of the module that will be connected to the stream. |
| pStreamRef | - | A pointer to the aStreamRef that will be filled in by this routine for communicating with the requested module's serial port. |
| pErr | - | A pointer to an aErr variable that recieves the error code on exit from this routine. |
Return Value:
Description:
| Note: | The streams created by this routine are valid as long as the aStem library has not been destroyed. When it is destroyed using the aStem_ReleaseLibRef routine, any outstanding relay streams become invalid and subsequent operations on them will return an error. |
Related: