mirror of
				https://github.com/thelsing/knx.git
				synced 2025-10-26 10:26:25 +01:00 
			
		
		
		
	save work
This commit is contained in:
		
							parent
							
								
									262842cea3
								
							
						
					
					
						commit
						332663897f
					
				| @ -64,5 +64,24 @@ SecurityInterfaceObject::SecurityInterfaceObject() | ||||
|     }; | ||||
|     initializeProperties(sizeof(properties), properties); | ||||
| } | ||||
| 
 | ||||
| uint8_t* SecurityInterfaceObject::save(uint8_t* buffer) | ||||
| { | ||||
|     //buffer = pushWord(_ownAddress, buffer);
 | ||||
|     return InterfaceObject::save(buffer); | ||||
| } | ||||
| 
 | ||||
| const uint8_t* SecurityInterfaceObject::restore(const uint8_t* buffer) | ||||
| { | ||||
|     //buffer = popWord(_ownAddress, buffer);
 | ||||
|     return InterfaceObject::restore(buffer); | ||||
| } | ||||
| 
 | ||||
| uint16_t SecurityInterfaceObject::saveSize() | ||||
| { | ||||
|     //return 2 + InterfaceObject::saveSize();
 | ||||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
|  | ||||
| @ -9,5 +9,9 @@ class SecurityInterfaceObject: public InterfaceObject | ||||
| { | ||||
| public: | ||||
|   SecurityInterfaceObject(); | ||||
|   uint8_t* save(uint8_t* buffer) override; | ||||
|   const uint8_t* restore(const uint8_t* buffer) override; | ||||
|   uint16_t saveSize() override; | ||||
| 
 | ||||
| }; | ||||
| #endif | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user