Hi, i was trying to cast a float variable (temperature) in a char variable using the function gcvt (double,int,char *), but i faced some problems when i call it in the program.
i'm trying to do this beacause i need to send that temperature value trought a caop message, in a thread network.
when i send a coap request to the server from the client, the first one doesn't respond and, if i open a putty window, it can be seen that the device resets itself when it receive the request.
these are the projects for nRF5340 DK:
coap_rec_myserver.zipcoap_send_myclient.zip
also when i put the mouse cursor over the gcvt function in the stdlib.h library, appear a pop up window over the function saying:
The function definition for 'gcvt' was not found
this is the path of stdlib.h library:
C:\ncs\toolchains\v2.1.1\opt\zephyr-sdk\arm-zephyr-eabi\arm-zephyr-eabi\sys-include\stdlib.h
how could i solve this?