Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
- name: MKRNB
- name: MKRWAN
- name: Arduino_Cellular
- name: Blues Wireless Notecard
SKETCH_PATHS: |
- examples/ConnectionHandlerDemo
- examples/CheckInternetAvailabilityDemo
Expand Down Expand Up @@ -113,8 +112,6 @@ jobs:
platforms: |
# Install Arduino SAMD Boards via Boards Manager
- name: arduino:samd
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed
platforms: |
Expand All @@ -123,53 +120,21 @@ jobs:
# Overwrite the Arduino mbed-Enabled Boards release version with version from the tip of the default branch (located in local path because of the need to first install ArduinoCore-API)
- source-path: extras/ArduinoCore-mbed
name: arduino:mbed
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_portenta
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_nano
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_nicla
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_opta
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_giga
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:mbed_edge
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:renesas_portenta
platforms: |
# Install Arduino Renesas portenta Boards via Boards Manager
- name: arduino:renesas_portenta
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:renesas_uno
platforms: |
# Install Arduino Renesas uno Boards via Boards Manager
- name: arduino:renesas_uno
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: arduino:esp32
platforms: |
# Install Arduino ESP32 Boards via Boards Manager
- name: arduino:esp32
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: esp8266:esp8266
platforms: |
Expand All @@ -183,16 +148,12 @@ jobs:
# Install ESP32 platform via Boards Manager
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard
- board:
platform-name: rp2040:rp2040
platforms: |
# Install rp2040 platform via Boards Manager
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
sketch-paths: |
- examples/ConnectionHandlerDemo-Notecard

steps:
- uses: actions/checkout@v5
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ Library for handling and managing network connections by providing keep-alive fu
* **5G**: [`MKR NB 1500`](https://store.arduino.cc/arduino-mkr-nb-1500-1413)
* **LoRa**: [`MKR WAN 1300/1310`](https://store.arduino.cc/mkr-wan-1310)
* **Ethernet**: [`Portenta H7`](https://store.arduino.cc/products/portenta-h7) + [`Vision Shield Ethernet`](https://store.arduino.cc/products/arduino-portenta-vision-shield-ethernet), [`Max Carrier`](https://store.arduino.cc/products/portenta-max-carrier), [`Breakout`](https://store.arduino.cc/products/arduino-portenta-breakout), [`Portenta Machine Control`](https://store.arduino.cc/products/arduino-portenta-machine-control), [`OPTA WiFi`](https://store.arduino.cc/products/opta-wifi), [`OPTA RS485`](https://store.arduino.cc/products/opta-rs485), [`OPTA Lite`](https://store.arduino.cc/products/opta-lite), [`Portenta C33`](https://store.arduino.cc/products/portenta-c33) + [`Vision Shield Ethernet`](https://store.arduino.cc/products/arduino-portenta-vision-shield-ethernet)
* **Notecard**: [Provides Cellular/LoRa/Satellite/Wi-Fi to any modern board/architecture](examples/ConnectionHandlerDemo-Notecard/README.md)

### How-to-use

```C++
#include <Arduino_ConnectionHandler.h>
/* ... */
#if defined(BOARD_HAS_NOTECARD)
NotecardConnectionHandler conMan("com.domain.you:product");
#elif defined(BOARD_HAS_ETHERNET)
#if defined(BOARD_HAS_ETHERNET)
EthernetConnectionHandler conMan;
#elif defined(BOARD_HAS_WIFI)
WiFiConnectionHandler conMan("SECRET_WIFI_SSID", "SECRET_WIFI_PASS");
Expand Down

This file was deleted.

71 changes: 0 additions & 71 deletions examples/ConnectionHandlerDemo-Notecard/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions examples/ConnectionHandlerDemo-Notecard/arduino_secrets.h

This file was deleted.

5 changes: 0 additions & 5 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ NBConnectionHandler KEYWORD1
LoRaConnectionHandler KEYWORD1
EthernetConnectionHandler KEYWORD1
CatM1ConnectionHandler KEYWORD1
NotecardConnectionHandler KEYWORD1

####################################################
# Methods and Functions (KEYWORD2)
Expand All @@ -30,10 +29,6 @@ getTime KEYWORD2
getClient KEYWORD2
getUDP KEYWORD2

# NotecardConnectionHandler.h
initiateNotehubSync KEYWORD2
setWiFiCredentials KEYWORD2

####################################################
# Constants (LITERAL1)
####################################################
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name=Arduino_ConnectionHandler
version=1.2.0
author=Ubi de Feo, Cristian Maglie, Andrea Catozzi, Alexander Entinger et al.
maintainer=Arduino <info@arduino.cc>
sentence=Arduino Library for network connection management (WiFi, GSM, NB, [Ethernet], Notecard)
sentence=Arduino Library for network connection management (WiFi, GSM, NB, [Ethernet])
paragraph=Originally part of ArduinoIoTCloud
category=Communication
url=https://github.com/arduino-libraries/Arduino_ConnectionHandler
architectures=samd,esp32,esp8266,mbed,megaavr,mbed_nano,mbed_portenta,mbed_nicla,mbed_opta,mbed_giga,renesas_portenta,renesas_uno,mbed_edge,stm32,rp2040
depends=Arduino_DebugUtils, WiFi101, WiFiNINA, MKRGSM, MKRNB, MKRWAN, Blues Wireless Notecard (>=1.6.3)
depends=Arduino_DebugUtils, WiFi101, WiFiNINA, MKRGSM, MKRNB, MKRWAN
6 changes: 0 additions & 6 deletions src/Arduino_ConnectionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
#include <Arduino.h>
#include "ConnectionHandlerDefinitions.h"

#if defined(BOARD_HAS_NOTECARD)
#include "NotecardConnectionHandler.h"
#else

#if defined(BOARD_HAS_WIFI)
#include "WiFiConnectionHandler.h"
#endif
Expand Down Expand Up @@ -54,6 +50,4 @@
#include "CellularConnectionHandler.h"
#endif

#endif // BOARD_HAS_NOTECARD

#endif /* CONNECTION_HANDLER_H_ */
Loading