|
LOM2M
0.8.0
|
#include "gateway.h"#include "AccessControlController.h"#include "Controller.h"#include "JsonMapper.h"#include "Redirector.h"#include "RequestPrimitive.h"#include "ShortNames.h"#include "httpBinding.h"#include "mqttBinding.h"#include "stdlib.h"#include "tools.h"#include "lom2m.h"Functions | |
| void | requestReply (ResponseStatusCode code, const String &message) |
| bool | registerCSE () |
Variables | |
| String | httpmessage |
| HTTPCode | httpretcode |
| std::vector< String > | uriSplit |
| ResponsePrimitive * | RESPONSE = nullptr |
| bool registerCSE | ( | ) |
Register the current CSE to the remote CSE specified in configuration
| void requestReply | ( | ResponseStatusCode | code, |
| const String & | message | ||
| ) |
Send an HTTP response
| code | - the oneM2M response status code (will add also the HTTP code)` |
| message | - can be empty, it is the body message of the response |
| String httpmessage |
| HTTPCode httpretcode |
| ResponsePrimitive* RESPONSE = nullptr |
| std::vector<String> uriSplit |