5a356432b3 
								
							 
						 
						
							
							
								
								Simplified `uint8_t *TLV<tagType, maxTags>::buf(tagType tag, int len)`  
							
							... 
							
							
							
							Also updated HAP.cpp to use new `uint8_t *TLV<tagType, maxTags>::buf(tagType tag, uint8_t *src, int len)` 
							
						 
						
							2023-07-30 21:54:14 -05:00  
				
					
						
							
							
								 
						
							
								a84429f930 
								
							 
						 
						
							
							
								
								Refactored TLV  
							
							... 
							
							
							
							* Added support for zero-length TLV
* Added SEPARATOR as a formal kTLVType (and updated listControllers() to use)
* Added `uint8_t *buf(tagType tag, uint8_t *src, int len);` to load buffer needing external memcpy (and updated listControllers() to use) 
							
						 
						
							2023-07-30 21:37:47 -05:00  
				
					
						
							
							
								 
						
							
								17410e825e 
								
							 
						 
						
							
							
								
								Completed adding LIST to HAPClient::postPairingsURL()  
							
							... 
							
							
							
							HomeSpan now correctly responds to pairing list requests 
							
						 
						
							2023-07-29 08:35:01 -05:00  
				
					
						
							
							
								 
						
							
								7325baa1a5 
								
							 
						 
						
							
							
								
								Added HAPClient::listControllers()  
							
							... 
							
							
							
							Will be used for pairings list request 
							
						 
						
							2023-07-29 01:21:55 -05:00  
				
					
						
							
							
								 
						
							
								bf057e2fad 
								
							 
						 
						
							
							
								
								modified HAP::receivedEncrypted() to use TempBuffer instead of fixed stack array  
							
							
							
						 
						
							2023-07-28 19:51:56 -05:00  
				
					
						
							
							
								 
						
							
								131e5b1a92 
								
							 
						 
						
							
							
								
								Removed duplicate if(POST /pairings)  
							
							
							
						 
						
							2023-07-28 19:38:16 -05:00  
				
					
						
							
							
								 
						
							
								793f7882b1 
								
							 
						 
						
							
							
								
								Replaced appropriate snprintf() with asprintf() and used *m in sscanf  
							
							... 
							
							
							
							Optimized use of heap memory instead of stack memory for temporary variables, and makes code easier to read, provided all heap usage is free() at end of each function.
Also removed char *hostName as a member variable of homeSpan.  It's never actually used since MDNS constructs its own copy of hostName as needed. 
							
						 
						
							2023-07-26 22:46:20 -05:00  
				
					
						
							
							
								 
						
							
								0f6e58435e 
								
							 
						 
						
							
							
								
								Update Network.cpp  
							
							
							
						 
						
							2023-07-26 20:35:27 -05:00  
				
					
						
							
							
								 
						
							
								62f68cb33c 
								
							 
						 
						
							
							
								
								Upgraded TempBuffer logic to use .get() to return pointer  
							
							... 
							
							
							
							Next up: update Network.cpp to use client.available() and reduce fixed memory usage. 
							
						 
						
							2023-07-26 06:27:54 -05:00  
				
					
						
							
							
								 
						
							
								5f9458e625 
								
							 
						 
						
							
							
								
								Converted static HTTP Buffer to dynamic TempBuffer  
							
							... 
							
							
							
							Saved about 8K in RAM! 
							
						 
						
							2023-07-25 05:54:40 -05:00  
				
					
						
							
							
								 
						
							
								a73b206531 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-07-21 17:36:57 -05:00  
				
					
						
							
							
								 
						
							
								4557e3866f 
								
							 
						 
						
							
							
								
								Converted various homeSpan.set() methods from void to Span& to enable chaining  
							
							
							
						 
						
							2023-07-21 13:27:31 -05:00  
				
					
						
							
							
								 
						
							
								57a85bf0c8 
								
							 
						 
						
							
							
								
								Bumped version to 1.8.0 in preparation for release  
							
							
							
						 
						
							2023-07-08 21:09:48 -05:00  
				
					
						
							
							
								 
						
							
								6aedec5a2d 
								
							 
						 
						
							
							
								
								Added ability to chain enable(), disable(), and brake()  
							
							
							
						 
						
							2023-07-08 17:56:33 -05:00  
				
					
						
							
							
								 
						
							
								f7419da35b 
								
							 
						 
						
							
							
								
								Final test of motorized shades  
							
							
							
						 
						
							2023-07-08 16:55:22 -05:00  
				
					
						
							
							
								 
						
							
								db0f522297 
								
							 
						 
						
							
							
								
								Added DRAM/IRAM memory stats to 'm' CLI command  
							
							
							
						 
						
							2023-07-05 06:05:10 -05:00  
				
					
						
							
							
								 
						
							
								62b1e9bd35 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-07-03 07:05:51 -05:00  
				
					
						
							
							
								 
						
							
								568c13fee3 
								
							 
						 
						
							
							
								
								Tested homeSpan.setStatusDevice() to create a reverseLED  
							
							
							
						 
						
							2023-07-02 17:12:58 -05:00  
				
					
						
							
							
								 
						
							
								9a42f0885c 
								
							 
						 
						
							
							
								
								Added [override] to onStep  
							
							
							
						 
						
							2023-07-02 11:39:31 -05:00  
				
					
						
							
							
								 
						
							
								195095c891 
								
							 
						 
						
							
							
								
								Changed setAccel() and setStepType() to return StepperControl*  
							
							... 
							
							
							
							Allows for daisy-chaining of configuration parameters.
Also added initialization of upLinkData in motorTask to prevent time-outs if setMove() is never called (by initializing msDelay=10) 
							
						 
						
							2023-07-02 11:13:55 -05:00  
				
					
						
							
							
								 
						
							
								6ab047b011 
								
							 
						 
						
							
							
								
								Update extras.ino  
							
							
							
						 
						
							2023-07-01 09:01:11 -05:00  
				
					
						
							
							
								 
						
							
								9bfc07041d 
								
							 
						 
						
							
							
								
								Creating Stepper Motor images  
							
							
							
						 
						
							2023-06-25 21:50:10 -05:00  
				
					
						
							
							
								 
						
							
								c5a40c6e34 
								
							 
						 
						
							
							
								
								Added ability to set cpu and priority for motor task using pair {}  
							
							
							
						 
						
							2023-06-22 21:25:18 -05:00  
				
					
						
							
							
								 
						
							
								e422d3c9de 
								
							 
						 
						
							
							
								
								Updated StepperMotorControl Window Shade Example to use setPosition()  
							
							... 
							
							
							
							Example now saves window shade position in NVS and uses setPosition() accordingly upon initialization. 
							
						 
						
							2023-06-20 21:23:03 -05:00  
				
					
						
							
							
								 
						
							
								fe4d83140f 
								
							 
						 
						
							
							
								
								Completed motor control setPosition()  
							
							... 
							
							
							
							Updated logic of setPosition(), move(), and moveTo() to use waitForAck() so that an initial acknowledgment is received from the motorTask() before proceeding. 
							
						 
						
							2023-06-19 21:24:23 -05:00  
				
					
						
							
							
								 
						
							
								480af6cf85 
								
							 
						 
						
							
							
								
								Added setPosition() to StepperControl  
							
							... 
							
							
							
							Needs testing and debugging 
							
						 
						
							2023-06-18 17:55:29 -05:00  
				
					
						
							
							
								 
						
							
								2eb70f1d1b 
								
							 
						 
						
							
							
								
								Changed links from HomeStep to HomeSpan  
							
							
							
						 
						
							2023-06-09 23:15:38 -05:00  
				
					
						
							
							
								 
						
							
								536de53075 
								
							 
						 
						
							
							
								
								Added Stepper_TB6612 and Stepper_A3967 directly to HomeSpan  
							
							... 
							
							
							
							HomeSpan now includes both drivers as part of the "extras" functionality.
The StepperMotorControl Window Shade Example has been updated accordingly to use the built-in TB6612 driver. 
							
						 
						
							2023-06-09 23:11:38 -05:00  
				
					
						
							
							
								 
						
							
								44e48a4534 
								
							 
						 
						
							
							
								
								Update extras.ino  
							
							
							
						 
						
							2023-06-04 09:20:37 -05:00  
				
					
						
							
							
								 
						
							
								5e1d65f436 
								
							 
						 
						
							
							
								
								Renamed SpanStep to StepperControl and moved into HoneSpan Extras  
							
							... 
							
							
							
							Also updated StepperMotorControl Example. 
							
						 
						
							2023-05-30 05:05:51 -05:00  
				
					
						
							
							
								 
						
							
								21da828f83 
								
							 
						 
						
							
							
								
								Update HomeSpan.cpp  
							
							
							
						 
						
							2023-05-13 15:39:01 -05:00  
				
					
						
							
							
								 
						
							
								d33bbf2477 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-05-13 10:36:17 -05:00  
				
					
						
							
							
								 
						
							
								40bb97215f 
								
							 
						 
						
							
							
								
								Added homeSpan methods setSerialInputDisable() and getSerialInputDisable()  
							
							... 
							
							
							
							Provides ability to disable HomeSpan from reading from Serial port (which is otherwise normally enabled) 
							
						 
						
							2023-05-13 10:34:21 -05:00  
				
					
						
							
							
								 
						
							
								de97faee37 
								
							 
						 
						
							
							
								
								Converted Serial.printf in extra classes to ESP_LOGI and ESP_LOGW  
							
							... 
							
							
							
							Changed Serial.printf() diagnostic messages to either ESP_LOGI() or ESP_LOGW() macros in Blinker, PWM (LedPin and ServoPin), Pixel, and RFControl class 
							
						 
						
							2023-05-12 21:32:21 -05:00  
				
					
						
							
							
								 
						
							
								7bc885dd26 
								
							 
						 
						
							
							
								
								Completed initial migration of Serial.print to LOG0  
							
							... 
							
							
							
							Finished all applicable cases in main source code.
TO DO: apply LOG0 to extras 
							
						 
						
							2023-05-10 22:12:21 -05:00  
				
					
						
							
							
								 
						
							
								66bb13af03 
								
							 
						 
						
							
							
								
								Continued change from Serial.print to LOG0()  
							
							
							
						 
						
							2023-05-08 22:43:42 -05:00  
				
					
						
							
							
								 
						
							
								368ce12c04 
								
							 
						 
						
							
							
								
								Started work on converting all Serial.print() to LOG0() macro  
							
							
							
						 
						
							2023-05-08 17:07:21 -05:00  
				
					
						
							
							
								 
						
							
								d5eb2ceeb8 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-05-07 13:41:27 -05:00  
				
					
						
							
							
								 
						
							
								0f3b798fcc 
								
							 
						 
						
							
							
								
								Bumped version to 1.7.3  
							
							
							
						 
						
							2023-04-29 15:18:33 -05:00  
				
					
						
							
							
								 
						
							
								ec1cd44382 
								
							 
						 
						
							
							
								
								Small tweaks to reset reasons in web log  
							
							
							
						 
						
							2023-04-27 19:53:33 -05:00  
				
					
						
							
							
								 
						
							
								5e71e5b4d5 
								
							 
						 
						
							
							
								
								Merge pull request  #566  from frankonski/dev  
							
							... 
							
							
							
							Added description of Reset Reason Code to WebLog. 
							
						 
						
							2023-04-27 20:36:52 -04:00  
				
					
						
							
							
								 
						
							
								beb79538e9 
								
							 
						 
						
							
							
								
								Update to WebLog TimeServer Logic  
							
							... 
							
							
							
							Acquiring time from a timeserver is now spawned as a separate task running in the background.  This avoids blocking HomeSpan while setting the time.
Default wait time has been extended from 10 seconds to 2 minutes, since there are no problems with blocking. 
							
						 
						
							2023-04-27 19:29:05 -05:00  
				
					
						
							
							
								 
						
							
								7e08e00734 
								
							 
						 
						
							
							
								
								Added description of Reset Reason Code to WebLog.  
							
							
							
						 
						
							2023-04-26 13:51:42 -04:00  
				
					
						
							
							
								 
						
							
								2ce78fead6 
								
							 
						 
						
							
							
								
								Added charset=utf-8 to weblog to allow for utf-8 encoding  
							
							
							
						 
						
							2023-04-23 15:14:57 -05:00  
				
					
						
							
							
								 
						
							
								947e2af012 
								
							 
						 
						
							
							
								
								Added homeSpan.setWebLogCSS(const char *css)  
							
							... 
							
							
							
							Allows user to define a custom style sheet to change the webLog output.  Style sheet is based on pre-defined class:
bod1 = main body of web page, including header (in format of <h2>)
tabl1 = top table showing general status
tab2 = bottom table showing all weblog entries 
							
						 
						
							2023-04-23 10:01:00 -05:00  
				
					
						
							
							
								 
						
							
								6fca946dd5 
								
							 
						 
						
							
							
								
								Added Sodium and MbedTLS versions, and Pairing Status, to Web Log  
							
							
							
						 
						
							2023-04-23 07:46:37 -05:00  
				
					
						
							
							
								 
						
							
								889a326e02 
								
							 
						 
						
							
							
								
								Address conflict between SpanButton and certain Adafruit Boards  
							
							... 
							
							
							
							Change enum from BUTTON and TOGGLE to HS_BUTTON and HS_TOGGLE to avoid conflict with #define BUTTON in certain Adafruit boards 
							
						 
						
							2023-04-20 21:56:55 -04:00  
				
					
						
							
							
								 
						
							
								5853989651 
								
							 
						 
						
							
							
								
								Update src.ino  
							
							
							
						 
						
							2023-04-08 17:17:47 -05:00  
				
					
						
							
							
								 
						
							
								c287564aed 
								
							 
						 
						
							
							
								
								Update HomeSpan.cpp  
							
							
							
						 
						
							2023-04-03 17:15:51 -05:00  
				
					
						
							
							
								 
						
							
								2ba75c13ea 
								
							 
						 
						
							
							
								
								Add CLI commands 'p' and 'P' to clone device pairing data  
							
							
							
						 
						
							2023-04-03 08:28:51 -05:00