semilimes mcu sdk 0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
dc_ch_reference.h
1#ifndef _dc_ch_reference_
2#define _dc_ch_reference_
3
4#include "../defines.h"
5
7{
8private:
9 SmeJson json_data;
10 char** pjson;
11
12public:
13// Function: DcChReference
14
15// A message referencing an existing Channel
16
17// Prototype:
18// void DcChReference(char* json);
19
20// Parameters:
22
23// Returns:
25 DcChReference(char* json)
26 {
27 pjson = &json;
28 json_data.initJson(*pjson);
29 }
30
31// Function: DcChReference.setObj
32
33// A message referencing an existing Channel
34
35// Prototype:
36// void DcChReference::setObj(char* channelId);
37
38// Parameters:
40
41// Returns:
43
44 void setObj(char* channelId);
45};
46
47#endif
Definition dc_ch_reference.h:7
void setObj(char *channelId)
Definition dc_ch_reference.cpp:16
DcChReference(char *json)
Definition dc_ch_reference.h:25