| aStemCore_CmdFilter | Index |
Definition:
| aErr aStemCore_CmdFilter( | const unsigned char module, const unsigned char dataLength, const char* data, void* ref); |
Parameters:
| module | - | The IIC address of the module that will be sending a data packet. This need not be the router. |
| dataLength | - | Number of packet data bytes. |
| data | - | Pointer to packet data bytes. |
| ref | - | Generic pointer that holds the match parameter. |
Return Value:
Description:
This routine returns aTrue when an incoming packet has a command ID that matches the parameter passed via the ref pointer. This is a general-purpose filter routine that can handle most cases where a host application must await a reply from a module.
Many of the library routines that perform input operations use this filter. This source file will need to be included in most applications that require input from a BrainStem module.