bcef37d9c3 
								
							 
						 
						
							
							
								
								Shrink vectors after adding new elements  
							
							
							
						 
						
							2023-11-18 22:33:45 +01:00  
				
					
						
							
							
								 
						
							
								52e3bec656 
								
							 
						 
						
							
							
								
								Optimized size of CallContext buffer sizes  
							
							
							
						 
						
							2023-11-18 21:17:28 +01:00  
				
					
						
							
							
								 
						
							
								953a5d0f63 
								
							 
						 
						
							
							
								
								Add function to get min free stack of autopoll task  
							
							
							
						 
						
							2023-11-18 21:15:23 +01:00  
				
					
						
							
							
								 
						
							
								41bcb86c66 
								
							 
						 
						
							
							
								
								Merge branch 'release-1.8.1-dev' into SendEncryptionContext  
							
							... 
							
							
							
							# Conflicts:
#	src/HomeSpan.cpp 
							
						 
						
							2023-11-13 19:19:38 +01:00  
				
					
						
							
							
								 
						
							
								4ab7503a72 
								
							 
						 
						
							
							
								
								Added error checking for NVS storage  
							
							... 
							
							
							
							Also added NVS storage diagnostic to 'm' command. 
							
						 
						
							2023-11-12 21:37:33 -06:00  
				
					
						
							
							
								 
						
							
								1569019fab 
								
							 
						 
						
							
							
								
								Add handling for updateDatabase() in call context  
							
							
							
						 
						
							2023-11-12 19:38:19 +01:00  
				
					
						
							
							
								 
						
							
								1e62a038f1 
								
							 
						 
						
							
							
								
								Changed unordered_set to vector when checking for duplicate AID  
							
							... 
							
							
							
							This eliminated the use of unordered_set everywhere in HomeSpan 
							
						 
						
							2023-11-12 12:33:09 -06:00  
				
					
						
							
							
								 
						
							
								98d6abeb1f 
								
							 
						 
						
							
							
								
								Changed storage of required and optional Characteristics from unordered_set to vector  
							
							... 
							
							
							
							Significantly reduces memory usage - unordered_sets take up much more memory and using std::find from <algorithm> is as efficient as using find() method of an unordered_set.
To do: Remove all uses of unordered_set across HomeSpan wherever possible 
							
						 
						
							2023-11-12 09:48:46 -06:00  
				
					
						
							
							
								 
						
							
								3cd8f8469a 
								
							 
						 
						
							
							
								
								First version with SendEncryptedContext  
							
							
							
						 
						
							2023-11-12 16:44:44 +01:00  
				
					
						
							
							
								 
						
							
								3d955be629 
								
							 
						 
						
							
							
								
								Add temp buffer statistic  
							
							
							
						 
						
							2023-11-11 19:48:11 +01:00  
				
					
						
							
							
								 
						
							
								ae60a84855 
								
							 
						 
						
							
							
								
								Update HAPClient::sendEncrypted() to send individual frames to save memory  
							
							... 
							
							
							
							Rather than use a large temporary buffer to store all encrypted frames to transmit all at once, each encrypted frame is transmitted as soon as created, which means the temporary buffer only needs to be large enough to store a single encrypted frame.
For a device with a large number of Accessories, this can save 15-20 KB of temporary storage, allowing for more Accessories.
Note this change does not reduce the size of the unencrypted message that is initially produced and can also be quite large.  Potential for future project. 
							
						 
						
							2023-11-11 10:26:25 -06:00  
				
					
						
							
							
								 
						
							
								c1834fb301 
								
							 
						 
						
							
							
								
								Update 07-AccessoryNames.ino  
							
							
							
						 
						
							2023-11-11 09:22:56 -06:00  
				
					
						
							
							
								 
						
							
								452558319f 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-11-06 05:02:52 -06:00  
				
					
						
							
							
								 
						
							
								184b658f5c 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-11-04 16:28:26 -05:00  
				
					
						
							
							
								 
						
							
								92a6391fe5 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-11-04 16:26:44 -05:00  
				
					
						
							
							
								 
						
							
								6bfeefcded 
								
							 
						 
						
							
							
								
								Merge branch 'release-1.8.1-dev' of  https://github.com/HomeSpan/HomeSpan  into release-1.8.1-dev  
							
							
							
						 
						
							2023-11-04 13:22:21 -05:00  
				
					
						
							
							
								 
						
							
								6f19141a49 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-11-04 13:22:12 -05:00  
				
					
						
							
							
								 
						
							
								68ccfc9858 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-11-04 13:21:23 -05:00  
				
					
						
							
							
								 
						
							
								1194bd27f6 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-11-04 12:52:03 -05:00  
				
					
						
							
							
								 
						
							
								713c5c65bf 
								
							 
						 
						
							
							
								
								Added new homeSpan.rebootCallback() function  
							
							... 
							
							
							
							An optional callback used to track the number of times the device reboots, where a reboot is defined as any restart where the uptime was less than a specified number of milliseconds (default=5000) 
							
						 
						
							2023-11-04 10:43:28 -05:00  
				
					
						
							
							
								 
						
							
								965bdc71b7 
								
							 
						 
						
							
							
								
								Add MAC Address output to RemoteDevice.ino  
							
							... 
							
							
							
							Prompts user with reminder of which MAC Address to use in Main Device. 
							
						 
						
							2023-11-04 09:36:31 -05:00  
				
					
						
							
							
								 
						
							
								fc4b8a077b 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-11-01 11:58:09 -05:00  
				
					
						
							
							
								 
						
							
								4b24f850d6 
								
							 
						 
						
							
							
								
								Update 07-AccessoryNames.ino  
							
							... 
							
							
							
							fix typo 
							
						 
						
							2023-11-01 11:54:47 -05:00  
				
					
						
							
							
								 
						
							
								30ffc26666 
								
							 
						 
						
							
							
								
								Merge pull request  #672  from mgeramb/ImproveExample  
							
							... 
							
							
							
							Add hint for UTF8 usage for names 
							
						 
						
							2023-11-01 11:50:50 -05:00  
				
					
						
							
							
								 
						
							
								b41fc3ac7e 
								
							 
						 
						
							
							
								
								Update HomeSpan.h  
							
							... 
							
							
							
							Forgot braces in for-loop of autoPoll() 
							
						 
						
							2023-10-31 18:21:16 -05:00  
				
					
						
							
							
								 
						
							
								f482dc1b09 
								
							 
						 
						
							
							
								
								Merge pull request  #673  from HomeSpan/dev  
							
							... 
							
							
							
							Moved vTaskDelay(5) from pollTask() to homeSpan.autoPoll() 
							
						 
						
							2023-10-31 18:13:44 -05:00  
				
					
						
							
							
								 
						
							
								8b3192e122 
								
							 
						 
						
							
							
								
								Moved vTaskDelay(5) from pollTask() to homeSpan.autoPoll()  
							
							... 
							
							
							
							Adding the vTaskDelay(5) to the code that spawns the separate task is more consistent with how Arduino-ESP32 spawns the main loop() task. 
							
						 
						
							2023-10-31 18:11:09 -05:00  
				
					
						
							
							
								 
						
							
								869e768ba7 
								
							 
						 
						
							
							
								
								Add hint for UTF8 usage in names  
							
							
							
						 
						
							2023-10-31 19:52:49 +01:00  
				
					
						
							
							
								 
						
							
								e7a1bb78be 
								
							 
						 
						
							
							
								
								Update Logging.md  
							
							
							
						 
						
							2023-10-31 08:06:35 -05:00  
				
					
						
							
							
								 
						
							
								42f69adf49 
								
							 
						 
						
							
							
								
								Made vTaskDelay(5) in pollTask conditional of using autoPoll()  
							
							... 
							
							
							
							vTaskDelay(5) is only needed if polling is in its own task.  If calling poll() directly, there is no need for any delay. 
							
						 
						
							2023-10-30 06:29:38 -05:00  
				
					
						
							
							
								 
						
							
								643c737634 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-10-29 21:05:20 -05:00  
				
					
						
							
							
								 
						
							
								56a2f0bece 
								
							 
						 
						
							
							
								
								Changed Accessory Limit from 41 to 150 and added Memory Warning  
							
							... 
							
							
							
							Low Memory Watermark is compared to DEFAULT_LOW_MEM_THRESHOLD (currently set at 80,000 bytes) after HAP initialization but before WIFI connection.  If Low Memory Watermark is below DEFAULT_LOW_MEM_THRESHOLD, a WARNING is issued.
Note: memory is based on heap with MALLOC_CAP_DEFAULT capabilities 
							
						 
						
							2023-10-29 20:55:02 -05:00  
				
					
						
							
							
								 
						
							
								c835a8620f 
								
							 
						 
						
							
							
								
								Update Logging.md  
							
							
							
						 
						
							2023-10-29 14:03:28 -05:00  
				
					
						
							
							
								 
						
							
								fa05738ff6 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-10-29 10:17:06 -05:00  
				
					
						
							
							
								 
						
							
								fe9f35aa84 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-10-29 10:14:14 -05:00  
				
					
						
							
							
								 
						
							
								02d39a61c0 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-10-29 10:03:26 -05:00  
				
					
						
							
							
								 
						
							
								5ce7211539 
								
							 
						 
						
							
							
								
								Made conforming changes to setVerboseWiFiReconnect  
							
							
							
						 
						
							2023-10-28 18:40:04 -05:00  
				
					
						
							
							
								 
						
							
								a93aef1604 
								
							 
						 
						
							
							
								
								Merge pull request  #670  from frankonski/verbose_reconnect  
							
							... 
							
							
							
							Verbose WiFi Reconnect 
							
						 
						
							2023-10-28 18:18:16 -05:00  
				
					
						
							
							
								 
						
							
								871eba3c1d 
								
							 
						 
						
							
							
								
								Merge branch 'release-1.8.1-dev' into verbose_reconnect  
							
							
							
						 
						
							2023-10-28 18:16:48 -05:00  
				
					
						
							
							
								 
						
							
								eea2c44aae 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-10-28 17:32:54 -05:00  
				
					
						
							
							
								 
						
							
								44db046e57 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-10-28 17:22:27 -05:00  
				
					
						
							
							
								 
						
							
								2421b8d1b1 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-10-28 17:13:24 -05:00  
				
					
						
							
							
								 
						
							
								dee9491089 
								
							 
						 
						
							
							
								
								Merge branch 'release-1.8.1' of  https://github.com/HomeSpan/HomeSpan  into release-1.8.1  
							
							
							
						 
						
							2023-10-28 17:06:42 -05:00  
				
					
						
							
							
								 
						
							
								81ee9e2dbc 
								
							 
						 
						
							
							
								
								Added homeSpan.setWifiCallbackAll(int n)  
							
							... 
							
							
							
							Adds a second type of WiFi Callback that is called every time WiFi is established OR re-established after a disconnect.  Passes the number of times WiFi has been connected as an argument. 
							
						 
						
							2023-10-28 17:06:40 -05:00  
				
					
						
							
							
								 
						
							
								b41bb653dc 
								
							 
						 
						
							
							
								
								Update README.md  
							
							
							
						 
						
							2023-10-28 09:59:52 -05:00  
				
					
						
							
							
								 
						
							
								688b51967e 
								
							 
						 
						
							
							
								
								Update Logging.md  
							
							
							
						 
						
							2023-10-28 09:55:47 -05:00  
				
					
						
							
							
								 
						
							
								2d84f25ac4 
								
							 
						 
						
							
							
								
								Update Reference.md  
							
							
							
						 
						
							2023-10-28 09:06:51 -05:00  
				
					
						
							
							
								 
						
							
								2bda112780 
								
							 
						 
						
							
							
								
								Verbose WiFi Reconnect  
							
							... 
							
							
							
							Add the ability to turn off WiFi reconnect messages. 
							
						 
						
							2023-10-27 08:17:06 -04:00  
				
					
						
							
							
								 
						
							
								4de61e5914 
								
							 
						 
						
							
							
								
								Change webLogCallback() to pass String as reference  
							
							
							
						 
						
							2023-10-24 13:43:04 -05:00  
				
					
						
							
							
								 
						
							
								0f96d0fff6 
								
							 
						 
						
							
							
								
								Added homeSpan.setWebLogCallback(String (*f)())  
							
							... 
							
							
							
							Allows extension of initial table produced in WebLog, where f is a function that returns a String.  The returned String is copied into the WebLog HTML just before the </table> tag is printed in the initial table. 
							
						 
						
							2023-10-22 18:23:25 -05:00