Added the IP address of the device when in AP mode in the task_sys_info task
This commit is contained in:
		
							parent
							
								
									6130e8cd71
								
							
						
					
					
						commit
						d9dfc15f21
					
				@ -17,11 +17,12 @@ boolean task_sys_info(void *pData)
 | 
			
		||||
  uint8_t HEAPfrag;
 | 
			
		||||
  ESP.getHeapStats(&freeRAM, &biggestContigMemBlock, &HEAPfrag);
 | 
			
		||||
 | 
			
		||||
  Serial.printf_P(PSTR("BATT SENSING...\nRunning since : %d s\nSystem error : %u\nIP : %s, %d dBm\nWEB Server clients : %u\nMemory info:\n\tFree RAM : %u\n\tHeap frag : %u\n\tMax block %u\n"),
 | 
			
		||||
  Serial.printf_P(PSTR("BATT SENSING...\nRunning since : %d s\nSystem error : %u\nStation IP : %s, %d dBm\nAP IP : %s\nWEB Server clients : %u\nMemory info:\n\tFree RAM : %u\n\tHeap frag : %u\n\tMax block %u\n"),
 | 
			
		||||
  millis()/1000,
 | 
			
		||||
  p->sab->getError(),
 | 
			
		||||
  p->sab->getConnectivityManager().localIP().toString().c_str(),
 | 
			
		||||
  p->sab->getConnectivityManager().RSSI(),
 | 
			
		||||
  p->sab->getConnectivityManager().softAPIP().toString().c_str(),
 | 
			
		||||
  p->sab->getWebServer().getConnectedClientsCount(),
 | 
			
		||||
  freeRAM,
 | 
			
		||||
  HEAPfrag,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user