Found 2 other functions taking a
wifi_nan_publish_cfg_t
argument:
Start Publishing a service to the NAN Peers in vicinity @attention This API should be called after esp_wifi_nan_start().
Start Publishing a service in the NAN cluster @attention This API should be called after esp_wifi_start() in NAN Mode.