-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the possibility to specify APN settings in the SECRETS file
- Loading branch information
Showing
2 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
#define SECRET_MQTTUSER "json+device" | ||
#define SECRET_MQTTPASS "...put your API key here..." | ||
//// cellular connection cerdentials | ||
#define SECRET_PINNUMBER "" // unless PIN is deactivated, specify your SIM card PIN number | ||
#define SECRET_APN "" // specify the APN name (if needed) | ||
#define SECRET_APN_USER "" // specify the username for your APN (if needed) | ||
#define SECRET_APN_PASS "" // specify the password for your APN (if needed) | ||
|
||
|
||
//// your Live Objects credential | ||
#define SECRET_LIVEOBJECTS_API_KEY "..." // paste here the Live Objects API key for your device. | ||
// You API key must have the predefined 'MQTT Device' right (alternatively: 'Device Access' read + write rights). | ||
// If your API key has more important rights, you *need* to use a TLS connection (MQTTS). |