1.when I add code in example/serial like below,it nothing happen ,PC not received message,how to do it :

1.when I add code in example/serial like below,it nothing happen ,PC not received message,how to do it :

How are you testing whether you receive information on the PC side? Are you running the example in debug mode in Segger Embedded Studio (SES)? The serial example is used together with the interactive py software, so I am not sure it will work out of the box to send information from a device to the RTT terminal if that is what you want to do.
Do you get any error codes after you run the ERROR_CHECK(nrf_mesh_serial_tx(data_tx,strlen(data_tx))); line?
You can use the J-Link RTT Viewer application to get logging information for the example or run a debug session in SES.
You can also take a look at this documentation for more info.
Hi,kvaale
1.I do not want to send to RTT terminal now , I want to send to PC throught UART , ERROR_CHECK(nrf_mesh_serial_tx(data_tx,strlen(data_tx))); returns no error.
2.I try the python interactive ,it shows below , but it not what i want , i want it send to TX pin ,and in the futrue ,it can connect to anther board:

This devzone case should be helpful in solving this problem, especially the last 3 comments.
thank you , i change the vaule in pca_10040.h -->#define HWFC false , it works!
thank you , i change the vaule in pca_10040.h -->#define HWFC false , it works!