NHS31xx SW API
app_demo_dp_tadherence/inc/text.h
1 /*
2  * Copyright 2016 NXP
3  * This software is owned or controlled by NXP and may only be used strictly
4  * in accordance with the applicable license terms. By expressly accepting
5  * such terms or by downloading, installing, activating and/or otherwise using
6  * the software, you are agreeing that you have read, and that you agree to
7  * comply with and are bound by, such license terms. If you do not agree to
8  * be bound by the applicable license terms, then you may not retain, install,
9  * activate or otherwise use the software.
10  */
11 
12 #ifndef TEXT_H_
13 #define TEXT_H_
14 #include <string.h>
15 
28 #define TEXT_STATUS_LENGTH (94)
29 
31 #define TEXT_POS_INTAKE_LENGTH (24)
32 
34 #define TEXT_NPOS_INTAKE_LENGTH (31)
35 
40 char* Text_StatusNotStarted(void);
41 
48 char* Text_StatusStopped(uint32_t startTime, uint32_t lastIntakeTime);
49 
57 char* Text_StatusOngoing(uint32_t startTime, uint32_t now, int pillsRemaining);
58 
67 char* Text_IntakePositional(uint32_t startTime, uint32_t intakeTime, int group, int position);
68 
77 char* Text_IntakeNonPositional(uint32_t startTime, uint32_t intakeTime, int group, int removal);
78 
80 #endif
char * Text_IntakeNonPositional(uint32_t startTime, uint32_t intakeTime, int group, int removal)
char * Text_StatusNotStarted(void)
char * Text_StatusStopped(uint32_t startTime, uint32_t lastIntakeTime)
char * Text_StatusOngoing(uint32_t startTime, uint32_t now, int pillsRemaining)
char * Text_IntakePositional(uint32_t startTime, uint32_t intakeTime, int group, int position)