Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
a17eae41
Commit
a17eae41
authored
8 years ago
by
Deomid Ryabkov
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable MQTT client by default
PUBLISHED_FROM=cb5d5afe166f637082d4b1d1bce5d9c263e91fd0
parent
7b05d700
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
enabling-flags.md
docs/overview/build-options/enabling-flags.md
+1
-1
Makefile
examples/mqtt_client/Makefile
+1
-1
mongoose.h
mongoose.h
+1
-1
No files found.
docs/overview/build-options/enabling-flags.md
View file @
a17eae41
...
@@ -4,7 +4,7 @@ title: Enabling flags
...
@@ -4,7 +4,7 @@ title: Enabling flags
-
`MG_ENABLE_SSL`
Enable
[
SSL/TLS support
](
https://docs.cesanta.com/mongoose/master/#/http/ssl.md/
)
(
OpenSSL
API)
-
`MG_ENABLE_SSL`
Enable
[
SSL/TLS support
](
https://docs.cesanta.com/mongoose/master/#/http/ssl.md/
)
(
OpenSSL
API)
-
`MG_ENABLE_IPV6`
Enable IPv6 support
-
`MG_ENABLE_IPV6`
Enable IPv6 support
-
`MG_ENABLE_MQTT`
enable
[
MQTT client
](
https://docs.cesanta.com/mongoose/master/#/mqtt/client_example.md/
)
-
`MG_ENABLE_MQTT`
enable
[
MQTT client
](
https://docs.cesanta.com/mongoose/master/#/mqtt/client_example.md/
)
(
on
by default, set to 0 to disable)
-
`MG_ENABLE_MQTT_BROKER`
enable
[
MQTT broker
](
https://docs.cesanta.com/mongoose/master/#/mqtt/server_example.md/
)
-
`MG_ENABLE_MQTT_BROKER`
enable
[
MQTT broker
](
https://docs.cesanta.com/mongoose/master/#/mqtt/server_example.md/
)
-
`MG_ENABLE_DNS_SERVER`
enable DNS server
-
`MG_ENABLE_DNS_SERVER`
enable DNS server
-
`MG_ENABLE_COAP`
enable CoAP protocol
-
`MG_ENABLE_COAP`
enable CoAP protocol
...
...
This diff is collapsed.
Click to expand it.
examples/mqtt_client/Makefile
View file @
a17eae41
PROG
=
mqtt_client
PROG
=
mqtt_client
MODULE_CFLAGS
=
-DMG_ENABLE_
MQTT
-DMG_ENABLE_
HTTP
=
0
MODULE_CFLAGS
=
-DMG_ENABLE_HTTP
=
0
SSL_LIB
=
openssl
SSL_LIB
=
openssl
include
../examples.mk
include
../examples.mk
This diff is collapsed.
Click to expand it.
mongoose.h
View file @
a17eae41
...
@@ -1584,7 +1584,7 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
...
@@ -1584,7 +1584,7 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#endif
#endif
#ifndef MG_ENABLE_MQTT
#ifndef MG_ENABLE_MQTT
#define MG_ENABLE_MQTT
0
#define MG_ENABLE_MQTT
1
#endif
#endif
#ifndef MG_ENABLE_MQTT_BROKER
#ifndef MG_ENABLE_MQTT_BROKER
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment