s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266
https://valencia.lbsfilm.at/midterm-presentation/
Other
896 stars 166 forks source link

Note for function argument type #270

Closed telesyst closed 2 months ago

telesyst commented 9 months ago

my be not bug

ESPUI.cpp row 1150

bool ESPUIClass::SendJsonDocToWebSocket(ArduinoJson::DynamicJsonDocument& document, uint16_t clientId)

"clientId" probably should be of type int.

MartinMueller2003 commented 2 months ago

The ClientID is intentionally limited to 16 bits because we have a max number of 65535 objects we are allowed to create.