BLEAdvertising setAppearance

Hey guys,

I'm using an ESP32s3 as a BLE server, and I am debugging the system with nrfConnect APP. I am using BLEDevice.h and so on.

I want to change the value appearance (Generic Access->Appearance UUID 0x2A01 -> value [0] unknown) to a known value.

I found a value I want "0x00C2" from the SIG, wich corresponds to "smartwatch".
I also found from the library BLEAdvertising.h the function setAppearance(uint16_t) but I can't make it work, the value stays at none. Does someone has any idea?

  #include <esp_bt.h>
  #include <BLEDevice.h>
  #include <BLEServer.h>
  #include <BLEAdvertising.h>

  //some unecessary code here

  PPGService->start();
  MyBatteryService->start();
  BLEAdvertising *pAdvertising = MyServer->getAdvertising();
  pAdvertising->setAppearance(0x00C2); //Problem here?
  pAdvertising->start();  
  Serial.println("Server start");