semilimes mcu sdk
0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
bucket_open.h
1
#ifndef _bucket_open_
2
#define _bucket_open_
3
4
#include "../defines.h"
5
6
class
BucketOpen
7
{
8
private
:
9
SmeJson json_data;
10
char
** pjson;
11
12
public
:
13
// Function: BucketOpen
14
15
// This endpoint let the user access the bucket content by its bucketId.
16
17
// Prototype:
18
// void BucketOpen(char* json);
19
20
// Parameters:
22
23
// Returns:
25
BucketOpen
(
char
* json)
26
{
27
pjson = &json;
28
json_data.initJson(*pjson);
29
}
30
31
// Function: BucketOpen.setObj
32
33
// This endpoint let the user access the bucket content by its bucketId.
34
35
// Prototype:
37
38
// Parameters:
39
// bucketId - is the unique Id to reference an existing bucket
40
41
// Returns:
43
void
setObj
(
char
* bucketId);
44
45
// Function: BucketOpen.getEPurl
46
47
// provides the full url for this endpoint
48
49
// Prototype:
51
52
// Parameters:
53
54
// Returns:
56
57
char
*
getEPurl
();
58
};
59
60
#endif
BucketOpen
Definition
bucket_open.h:7
BucketOpen::getEPurl
char * getEPurl()
Definition
bucket_open.cpp:34
BucketOpen::setObj
void setObj(char *bucketId)
Definition
bucket_open.cpp:16
BucketOpen::BucketOpen
BucketOpen(char *json)
Definition
bucket_open.h:25
semilimes
src
communication
bucket_open.h
Generated by
1.12.0