From 16e6db47c1e2dd306c5a99ad443e13b754728f7b Mon Sep 17 00:00:00 2001 From: HomeSpan Date: Sat, 8 Jul 2023 21:22:43 -0500 Subject: [PATCH] Update Reference.md --- docs/Reference.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/docs/Reference.md b/docs/Reference.md index 9e2e33c..472c8cb 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -614,24 +614,6 @@ If REQUIRED is defined in the main sketch *prior* to including the HomeSpan libr #include "HomeSpan.h" ``` - --- - -#### Deprecated functions (available for backwards compatibility with older sketches): - -* `SpanRange(int min, int max, int step)` - - * this legacy class was limited to integer-based parameters and has been re-coded to simply call the more generic `setRange(min, max, step)` method - * last supported version: [v1.2.0](https://github.com/HomeSpan/HomeSpan/blob/release-1.2.0/docs/Reference.md#spanrangeint-min-int-max-int-step) - * **please use** `setRange(min, max, step)` **for all new sketches** - -* `void homeSpan.setMaxConnections(uint8_t nCon)` - * this legacy method was used to set the total number of HAP Controller Connections HomeSpan implements upon start-up to ensure there are still free sockets available for user-defined code requiring separate network resources - * last supported version: [v1.4.2](https://github.com/HomeSpan/HomeSpan/blob/release-1.4.2/docs/Reference.md) - * this method has been replaced by the more flexible method, `reserveSocketConnections(uint8_t nSockets)` - * allows you to simply reserve network sockets for other custom code as needed - * upon calling `homespan.begin()`, HomeSpan automatically determines how many sockets are left that it can use for HAP Controller Connections - * **please use** `homeSpan.reserveSocketConnections(uint8_t nSockets)` **for all new sketches** - --- [↩️](../README.md) Back to the Welcome page