Station.cpp
/**
 * Start all services for the project:
 *    - MDNS if enabled
 *    - LED Service REST API
 */
Start all services for the project:
- MDNS if enabled
- LED Service REST API
Start all services for the project : - MDNS if enabled - LED Service REST API
static void _start_services(void){
#if ST_USE_MDNS
  bool success = MDNS.begin(ST_MDNS_NAME);
  if(success){
    MDNS.addService("http", "tcp", LED_SERVICE_PORT);
  }
#endif
  rs_init();
}
static void _start_services ( void ) { #if ST_USE_MDNS bool success = MDNS . begin ( ST_MDNS_NAME ) ; if ( success ) { MDNS . addService ( " " , " " , LED_SERVICE_PORT ) ; } #endif rs_init ( ) ; }
Start all services for the project:
    - MDNS if enabled
    - LED Service REST API
Start all services for the project : - MDNS if enabled - LED Service REST API