You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../main/gatts_demo.c: In function 'app_main':
../main/gatts_demo.c:825:40: error: '/devSub' directive writing 7 bytes into a region of size between 4 and 20 [-Werror=format-overflow=]
sprintf(MqttTopicSub, "/esp32-c3/%s/devSub", deviceUUID);
^~~~~~~
../main/gatts_demo.c:825:5: note: 'sprintf' output between 18 and 34 bytes into a destination of size 30
sprintf(MqttTopicSub, "/esp32-c3/%s/devSub", deviceUUID);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../main/gatts_demo.c:827:40: error: '/devPub' directive writing 7 bytes into a region of size between 4 and 20 [-Werror=format-overflow=]
sprintf(MqttTopicPub, "/esp32-c3/%s/devPub", deviceUUID);
^~~~~~~
../main/gatts_demo.c:827:5: note: 'sprintf' output between 18 and 34 bytes into a destination of size 30
sprintf(MqttTopicPub, "/esp32-c3/%s/devPub", deviceUUID);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
The text was updated successfully, but these errors were encountered:
../main/gatts_demo.c: In function 'app_main':
../main/gatts_demo.c:825:40: error: '/devSub' directive writing 7 bytes into a region of size between 4 and 20 [-Werror=format-overflow=]
sprintf(MqttTopicSub, "/esp32-c3/%s/devSub", deviceUUID);
^~~~~~~
../main/gatts_demo.c:825:5: note: 'sprintf' output between 18 and 34 bytes into a destination of size 30
sprintf(MqttTopicSub, "/esp32-c3/%s/devSub", deviceUUID);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../main/gatts_demo.c:827:40: error: '/devPub' directive writing 7 bytes into a region of size between 4 and 20 [-Werror=format-overflow=]
sprintf(MqttTopicPub, "/esp32-c3/%s/devPub", deviceUUID);
^~~~~~~
../main/gatts_demo.c:827:5: note: 'sprintf' output between 18 and 34 bytes into a destination of size 30
sprintf(MqttTopicPub, "/esp32-c3/%s/devPub", deviceUUID);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: some warnings being treated as errors
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
The text was updated successfully, but these errors were encountered: