From 47e703bc7ef0ae789eb62c39ddbaf0fa190cfb94 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:46:02 -0300 Subject: [PATCH 01/12] feat(asyncudp): add all current keywords to the list --- libraries/AsyncUDP/keywords.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/libraries/AsyncUDP/keywords.txt b/libraries/AsyncUDP/keywords.txt index 67c0b97a715..30ea1b7c111 100644 --- a/libraries/AsyncUDP/keywords.txt +++ b/libraries/AsyncUDP/keywords.txt @@ -8,6 +8,7 @@ AsyncUDP KEYWORD1 AsyncUDPPacket KEYWORD1 +AsyncUDPMessage KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) @@ -19,6 +20,21 @@ listen KEYWORD2 listenMulticast KEYWORD2 close KEYWORD2 write KEYWORD2 +space KEYWORD2 +flush KEYWORD2 +isBroadcast KEYWORD2 +isMulticast KEYWORD2 +isIPv6 KEYWORD2 +interface KEYWORD2 +localIPv6 KEYWORD2 +remoteIPv6 KEYWORD2 +remoteMac KEYWORD2 +send KEYWORD2 +peek KEYWORD2 +available KEYWORD2 +writeTo KEYWORD2 +broadcastTo KEYWORD2 +sendTo KEYWORD2 broadcast KEYWORD2 onPacket KEYWORD2 data KEYWORD2 @@ -27,7 +43,17 @@ localIP KEYWORD2 localPort KEYWORD2 remoteIP KEYWORD2 remotePort KEYWORD2 +listenIP KEYWORD2 +listenIPv6 KEYWORD2 +lastErr KEYWORD2 +_s_recv KEYWORD2 ####################################### # Constants (LITERAL1) ####################################### + +TCPIP_ADAPTER_IF_STA LITERAL1 +TCPIP_ADAPTER_IF_STA LITERAL1 +TCPIP_ADAPTER_IF_AP LITERAL1 +TCPIP_ADAPTER_IF_ETH LITERAL1 +TCPIP_ADAPTER_IF_PPP LITERAL1 From 541b517bee5db26eb9abd098f63772fbdc9b86a5 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:47:25 -0300 Subject: [PATCH 02/12] feat(asyncudp): add license information to the source code --- libraries/AsyncUDP/src/AsyncUDP.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libraries/AsyncUDP/src/AsyncUDP.cpp b/libraries/AsyncUDP/src/AsyncUDP.cpp index 5549276de44..b4ac6d2efc4 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.cpp +++ b/libraries/AsyncUDP/src/AsyncUDP.cpp @@ -1,3 +1,17 @@ +// Copyright 2024 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "Arduino.h" #include "AsyncUDP.h" From d41a300defde49066f90f2d623ea16af26bf1546 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:47:52 -0300 Subject: [PATCH 03/12] feat(asyncudp): add license information to the source code --- libraries/AsyncUDP/src/AsyncUDP.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libraries/AsyncUDP/src/AsyncUDP.h b/libraries/AsyncUDP/src/AsyncUDP.h index 160fb7b1515..5c4af42e436 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.h +++ b/libraries/AsyncUDP/src/AsyncUDP.h @@ -1,3 +1,17 @@ +// Copyright 2024 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #ifndef ESPASYNCUDP_H #define ESPASYNCUDP_H From 1c8bb4ce6c3e189310237e12fc5a5943af7daeef Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:48:23 -0300 Subject: [PATCH 04/12] feat(asyncudp): add license information to the source code --- .../examples/AsyncUDPClient/AsyncUDPClient.ino | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino b/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino index c842eab721d..dca5669c3a9 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino @@ -1,3 +1,17 @@ +// Copyright 2024 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "WiFi.h" #include "AsyncUDP.h" From 1831aa77fbf0f42edda6cdcd4c02f2d770135092 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:48:51 -0300 Subject: [PATCH 05/12] feat(asyncudp): add license information to the source code --- .../AsyncUDPMulticastServer.ino | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino index 0da2f1f00e4..f8b803c59b0 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino @@ -1,3 +1,17 @@ +// Copyright 2024 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "WiFi.h" #include "AsyncUDP.h" From 369427f2703e9e08f3031032fe80eb48d3bc637e Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Fri, 22 Nov 2024 12:49:17 -0300 Subject: [PATCH 06/12] feat(asyncudp): add license information to the source code --- .../examples/AsyncUDPServer/AsyncUDPServer.ino | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino b/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino index 18cd66a5d44..c9808e7bf2c 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino @@ -1,3 +1,17 @@ +// Copyright 2024 Espressif Systems (Shanghai) PTE LTD +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at + +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #include "WiFi.h" #include "AsyncUDP.h" From 0bf0f966bfb68550cd15a5f29028582e5d37460d Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 25 Nov 2024 08:45:10 -0300 Subject: [PATCH 07/12] feat(asyncudp): revert license information to the source code --- .../examples/AsyncUDPClient/AsyncUDPClient.ino | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino b/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino index dca5669c3a9..c842eab721d 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPClient/AsyncUDPClient.ino @@ -1,17 +1,3 @@ -// Copyright 2024 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - #include "WiFi.h" #include "AsyncUDP.h" From a90dc7bade572e4cc5324c182665ef569a323780 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 25 Nov 2024 08:45:36 -0300 Subject: [PATCH 08/12] feat(asyncudp): revert license information to the source code --- .../AsyncUDPMulticastServer.ino | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino index f8b803c59b0..0da2f1f00e4 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino @@ -1,17 +1,3 @@ -// Copyright 2024 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - #include "WiFi.h" #include "AsyncUDP.h" From 47409a27bab4444075a543b99206ebba7546079e Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 25 Nov 2024 08:46:00 -0300 Subject: [PATCH 09/12] feat(asyncudp): revert license information to the source code --- .../examples/AsyncUDPServer/AsyncUDPServer.ino | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino b/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino index c9808e7bf2c..18cd66a5d44 100644 --- a/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino +++ b/libraries/AsyncUDP/examples/AsyncUDPServer/AsyncUDPServer.ino @@ -1,17 +1,3 @@ -// Copyright 2024 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - #include "WiFi.h" #include "AsyncUDP.h" From 0aadb45609fef4e854c540f55dc6c45c7bd4bdc8 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 25 Nov 2024 08:46:21 -0300 Subject: [PATCH 10/12] feat(asyncudp): revert license information to the source code --- libraries/AsyncUDP/src/AsyncUDP.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/AsyncUDP/src/AsyncUDP.cpp b/libraries/AsyncUDP/src/AsyncUDP.cpp index b4ac6d2efc4..5549276de44 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.cpp +++ b/libraries/AsyncUDP/src/AsyncUDP.cpp @@ -1,17 +1,3 @@ -// Copyright 2024 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - #include "Arduino.h" #include "AsyncUDP.h" From c969a766988262d54d1cf97ade72c6e655959e4e Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Mon, 25 Nov 2024 08:46:42 -0300 Subject: [PATCH 11/12] feat(asyncudp): revert license information to the source code --- libraries/AsyncUDP/src/AsyncUDP.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libraries/AsyncUDP/src/AsyncUDP.h b/libraries/AsyncUDP/src/AsyncUDP.h index 5c4af42e436..160fb7b1515 100644 --- a/libraries/AsyncUDP/src/AsyncUDP.h +++ b/libraries/AsyncUDP/src/AsyncUDP.h @@ -1,17 +1,3 @@ -// Copyright 2024 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at - -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - #ifndef ESPASYNCUDP_H #define ESPASYNCUDP_H From 449237abc3332140dd10348036d9f5cb501ef1c3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:57:11 +0000 Subject: [PATCH 12/12] ci(pre-commit): Apply automatic fixes --- libraries/AsyncUDP/keywords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AsyncUDP/keywords.txt b/libraries/AsyncUDP/keywords.txt index 30ea1b7c111..1401ea66c72 100644 --- a/libraries/AsyncUDP/keywords.txt +++ b/libraries/AsyncUDP/keywords.txt @@ -52,7 +52,7 @@ _s_recv KEYWORD2 # Constants (LITERAL1) ####################################### -TCPIP_ADAPTER_IF_STA LITERAL1 +TCPIP_ADAPTER_IF_STA LITERAL1 TCPIP_ADAPTER_IF_STA LITERAL1 TCPIP_ADAPTER_IF_AP LITERAL1 TCPIP_ADAPTER_IF_ETH LITERAL1