File tree 4 files changed +64
-1
lines changed
4 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Espressif Systems (Shanghai) PTE LTD
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
#include < WiFi.h>
2
16
#include < ESPmDNS.h>
3
17
#include < NetworkUdp.h>
Original file line number Diff line number Diff line change 7
7
#######################################
8
8
9
9
ArduinoOTA KEYWORD1
10
+ ArduinoOTAClass KEYWORD1
10
11
11
12
#######################################
12
13
# Methods and Functions (KEYWORD2)
13
14
#######################################
14
15
15
16
begin KEYWORD2
16
- setup KEYWORD2
17
+ end KEYWORD2
17
18
handle KEYWORD2
18
19
onStart KEYWORD2
19
20
onEnd KEYWORD2
20
21
onError KEYWORD2
21
22
onProgress KEYWORD2
23
+ setPort KEYWORD2
24
+ setHostname KEYWORD2
25
+ getHostname KEYWORD2
26
+ setPassword KEYWORD2
27
+ setPasswordHash KEYWORD2
28
+ setPartitionLabel KEYWORD2
29
+ getPartitionLabel KEYWORD2
30
+ setRebootOnSuccess KEYWORD2
31
+ setMdnsEnabled KEYWORD2
32
+ getCommand KEYWORD2
33
+ setTimeout KEYWORD2
22
34
23
35
#######################################
24
36
# Constants (LITERAL1)
25
37
#######################################
38
+
39
+ OTA_IDLE LITERAL1
40
+ OTA_WAITAUTH LITERAL1
41
+ OTA_RUNUPDATE LITERAL1
42
+ OTA_AUTH_ERROR LITERAL1
43
+ OTA_BEGIN_ERROR LITERAL1
44
+ OTA_CONNECT_ERROR LITERAL1
45
+ OTA_RECEIVE_ERROR LITERAL1
46
+ OTA_END_ERROR LITERAL1
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Espressif Systems (Shanghai) PTE LTD
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
#ifndef LWIP_OPEN_SRC
2
16
#define LWIP_OPEN_SRC
3
17
#endif
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 Espressif Systems (Shanghai) PTE LTD
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
#ifndef __ARDUINO_OTA_H
2
16
#define __ARDUINO_OTA_H
3
17
You can’t perform that action at this time.
0 commit comments