I am trying to print out a string debugging information. But got below error.
No problem change to printf or cast char array name to uint32_t. See first 2 sentence.
char data_array[BLE_NUS_MAX_DATA_LEN] = {0};
.
.
.
printf("---> %s\r\n",data_array);
NRF_LOG_DEBUG("---> %s\r\n",(uint32_t)data_array);
NRF_LOG_DEBUG("---> %s\r\n",data_array);
Error[Pe167]: argument of type "char *" is incompatible with parameter of type "uint32_t" C:\gxf\other\nRF5_SDK_12.3.0_d7731ad\examples\ble_central\EnforcerScanner\main.c 1004
Error while running C/C++ Compiler