Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
page/page.h@99:5aa33c306167, 2019-04-26 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Apr 26 10:00:49 2019 +0000
- Revision:
- 99:5aa33c306167
- Parent:
- 86:f3c9beec4ee7
Moved 1-wire into a separate library and moved the 1-wire page here with an option.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:f8998d10763e | 1 | #include <stdint.h> |
| andrewboyson | 77:4689596a2f3f | 2 | #include <stdbool.h> |
| andrewboyson | 0:f8998d10763e | 3 | |
| andrewboyson | 46:1822fdbe6c0c | 4 | #define FAULT_PAGE 0 |
| andrewboyson | 46:1822fdbe6c0c | 5 | #define CLOCK_PAGE 1 |
| andrewboyson | 46:1822fdbe6c0c | 6 | #define NET_PAGE 2 |
| andrewboyson | 86:f3c9beec4ee7 | 7 | #define NET4_PAGE 3 |
| andrewboyson | 86:f3c9beec4ee7 | 8 | #define NET6_PAGE 4 |
| andrewboyson | 86:f3c9beec4ee7 | 9 | #define TRACE_PAGE 5 |
| andrewboyson | 86:f3c9beec4ee7 | 10 | #define LOG_PAGE 6 |
| andrewboyson | 86:f3c9beec4ee7 | 11 | #define FIRMWARE_PAGE 7 |
| andrewboyson | 99:5aa33c306167 | 12 | #define ONE_WIRE_PAGE 8 |
| andrewboyson | 30:6a08abbe6301 | 13 | |
| andrewboyson | 30:6a08abbe6301 | 14 | extern const char* PageSite; |
| andrewboyson | 30:6a08abbe6301 | 15 | extern void PageAddNav(int page); |
| andrewboyson | 30:6a08abbe6301 | 16 | |
| andrewboyson | 2:14de8c14afd9 | 17 | extern void PageAddHeader (const char* site, const char* title, const char* style, const char* script); |
| andrewboyson | 0:f8998d10763e | 18 | extern void PageAddNavItem (int highlight, char* href, char* title); |
| andrewboyson | 12:237a0f75b4d0 | 19 | extern void PageAddH1 (const char* site, const char* pageName); |
| andrewboyson | 12:237a0f75b4d0 | 20 | extern void PageAddH2 (const char* text); |
| andrewboyson | 12:237a0f75b4d0 | 21 | extern void PageAddEnd (void); |
| andrewboyson | 0:f8998d10763e | 22 | |
| andrewboyson | 99:5aa33c306167 | 23 | extern void PageAddLabelledText (char* label, char* text); |
| andrewboyson | 99:5aa33c306167 | 24 | extern void PageAddLabelledPrefixSuffix(char* label, char* prefix, char* text, char* suffix); |
| andrewboyson | 99:5aa33c306167 | 25 | extern void PageAddLabelledMac (char* label, char* mac); |
| andrewboyson | 99:5aa33c306167 | 26 | extern void PageAddLabelledIp4 (char* label, uint32_t ip); |
| andrewboyson | 99:5aa33c306167 | 27 | extern void PageAddLabelledIp6 (char* label, char* ip); |
| andrewboyson | 99:5aa33c306167 | 28 | extern void PageAddLabelledOnOff (char* label, bool value); |
| andrewboyson | 99:5aa33c306167 | 29 | extern void PageAddLabelledInt (char* label, int value); |
| andrewboyson | 0:f8998d10763e | 30 | |
| andrewboyson | 99:5aa33c306167 | 31 | extern void PageAddInputText (char* label, float inputwidth, char* value, char* action, char* name); |
| andrewboyson | 99:5aa33c306167 | 32 | extern void PageAddInputInt (char* label, float inputwidth, int value, char* action, char* name); |
| andrewboyson | 99:5aa33c306167 | 33 | extern void PageAddInputButton (char* label, char* value, char* action, char* name); |
| andrewboyson | 0:f8998d10763e | 34 | |
| andrewboyson | 99:5aa33c306167 | 35 | extern void PageAddAjaxLed (char* label, char* id); |
| andrewboyson | 99:5aa33c306167 | 36 | extern void PageAddAjaxLabelled (char* label, char* id); |
| andrewboyson | 99:5aa33c306167 | 37 | extern void PageAddAjaxLabelledSuffix (char* label, char* id, char* suffix); |
| andrewboyson | 99:5aa33c306167 | 38 | extern void PageAddAjaxInputToggle (char* label, char* id, char* name); |
| andrewboyson | 99:5aa33c306167 | 39 | extern void PageAddAjaxInput (char* label, float inputwidth, char* id, char* name); |
| andrewboyson | 99:5aa33c306167 | 40 | extern void PageAddAjaxInputSuffix (char* label, float inputwidth, char* id, char* name, char* suffix); |
| andrewboyson | 99:5aa33c306167 | 41 | extern void PageAddAjaxInputLabelId (char* labelId, float inputwidth, char* id, char* name); |