...
Code Block | ||
---|---|---|
| ||
#define REQUESTID_TEMPLATE 2 |
REQUESTID_TEMPLATE
- This allows you to match a response to a request. To keep track of responses to specific Notes, you need to supply an “id” tag to the Note. If an “id” was supplied to a Note, then the response parameter provided todiagResponse()
will contain the matching “id”.
...
Variables (a.k.a. Application Specific Context)
Callbacks
bool diagActivate(int appID, void *appContext);
void diagISR(int appID, uint16_t pins, void *appContext);
void diagPoll(int appID, int state, void *appContext);
void diagResponse(int appID, J *rsp, void *appContext);
Other Functions
External
bool diagInit(void);
Internal
static void addNote(bool immediate);
static bool registerNotefileTemplate();