BC95 AT+CCLK? doesn´t works

I’m using an Dragino, When i send AT+CCLK? comand in serial console it works but when i compiled it in program it doesn’t

could you help me

hi, Antonio_Orti_Navarro:
According to the results you provide, the device can output the clock log normally.
As you can see from your code, Command in your code will get results immediately after execution.but ,this may be an error. It takes time for the MCU to send instructions to the module and for the module to return the execution results;
I suggest you add a delay time before you get the results!
You have a try!

Using delays it works.

Many thanks