Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
a17eae41
Commit
a17eae41
authored
8 years ago
by
Deomid Ryabkov
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Enable MQTT client by default
PUBLISHED_FROM=cb5d5afe166f637082d4b1d1bce5d9c263e91fd0
parent
7b05d700
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/overview/build-options/enabling-flags.md
+1
-1
1 addition, 1 deletion
docs/overview/build-options/enabling-flags.md
examples/mqtt_client/Makefile
+1
-1
1 addition, 1 deletion
examples/mqtt_client/Makefile
mongoose.h
+1
-1
1 addition, 1 deletion
mongoose.h
with
3 additions
and
3 deletions
docs/overview/build-options/enabling-flags.md
+
1
−
1
View file @
a17eae41
...
...
@@ -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_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_DNS_SERVER`
enable DNS server
-
`MG_ENABLE_COAP`
enable CoAP protocol
...
...
This diff is collapsed.
Click to expand it.
examples/mqtt_client/Makefile
+
1
−
1
View file @
a17eae41
PROG
=
mqtt_client
MODULE_CFLAGS
=
-DMG_ENABLE_MQTT
-DMG_ENABLE_HTTP
=
0
MODULE_CFLAGS
=
-DMG_ENABLE_HTTP
=
0
SSL_LIB
=
openssl
include
../examples.mk
This diff is collapsed.
Click to expand it.
mongoose.h
+
1
−
1
View file @
a17eae41
...
...
@@ -1584,7 +1584,7 @@ const char *c_strnstr(const char *s, const char *find, size_t slen);
#endif
#ifndef MG_ENABLE_MQTT
#define MG_ENABLE_MQTT
0
#define MG_ENABLE_MQTT
1
#endif
#ifndef MG_ENABLE_MQTT_BROKER
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment