Skip to content

Commit 99c36f8

Browse files
committed
minor examples refactor
1 parent ea0a60e commit 99c36f8

File tree

5 files changed

+7
-23
lines changed

5 files changed

+7
-23
lines changed

examples/ESP32/SetupClient/SetupClient.ino

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,10 @@ void setup() {
7777
}
7878

7979
//
80-
// If above call is successfull then your bytebeam client is now configured for the use
80+
// If above call is successfull then the bytebeam client is now configured for the use
8181
// You can always check for the logs in serial monitor for the status of the above call
8282
//
8383

84-
// check if bytebeam client is initialized or deinitialized
85-
bool beginStatus = Bytebeam.isBegined();
86-
87-
if(!beginStatus) {
88-
Serial.println("Bytebeam Client is Deinitialized.");
89-
} else {
90-
Serial.println("Bytebeam Client is Initialized.");
91-
}
92-
9384
// check if bytebeam client is connected or disconnected
9485
bool connectionStatus = Bytebeam.isConnected();
9586

examples/ESP32/SetupClient_GSM/SetupClient_GSM.ino

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,10 @@ void setup() {
146146
}
147147

148148
//
149-
// If above call is successfull then your bytebeam client is now configured for the use
149+
// If above call is successfull then the bytebeam client is now configured for the use
150150
// You can always check for the logs in serial monitor for the status of the above call
151151
//
152152

153-
// check if bytebeam client is initialized or deinitialized
154-
bool beginStatus = Bytebeam.isBegined();
155-
156-
if(!beginStatus) {
157-
SerialMon.println("Bytebeam Client is Deinitialized.");
158-
} else {
159-
SerialMon.println("Bytebeam Client is Initialized.");
160-
}
161-
162153
// check if bytebeam client is connected or disconnected
163154
bool connectionStatus = Bytebeam.isConnected();
164155

examples/ESP8266/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ This section includes the sample sketch showing how you can quickly start off wi
44

55
- ToggleLED
66

7-
You can notice the change lies before the bytebeam begin part in setting up WiFi and SNTP. As long as the library supports the required functionaly in ESP8266, you can still work on ESP32 samples by doing these minor modifications.
7+
You can notice the change lies before the bytebeam begin part in setting up WiFi and SNTP. As long as the library supports the required functionality in ESP8266, you can still work on ESP32 samples by doing these minor modifications.

examples/Provisioning/FATFSProvisioning/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This example will show you how to provison your device with FATFS file system.
33

44
## Hardware specification
5-
1. Dev Board (ESP32 or ESP8266)
5+
1. ESP32 Dev Board
66

77
## Software Specification
88
1. Bytebeam Arduino Library

examples/Provisioning/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ Default Configuration,
1515

1616
You can always override the default configurations and here are steps to do so,
1717
- Provision your device with the required configurations
18-
- Specify the same configurations in your sketch via `begin` method.
18+
- Specify the same configurations in your sketch via `begin` method.
19+
20+
See [Advance SDK Configurations](https://docs.bytebeam.io/docs/advance-sdk-configurations) for the implementation details.

0 commit comments

Comments
 (0)