Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 5 months ago.
where is documentation for 'gets' 'getc' 'putc' for serial communication?
my devboard: nrf51 DK
I am currently testing a simple UART serial communication code and checked out examples from this page.
but I found something weird.
The example uses 'printf' function but this is not explained in the API summary for serial class reference(where it explains baud, read, write, kind of functions).
I know that the serial.printf(" ") functions work but why isn't this mentioned in the API summary?
This is the same for 'gets' function. I want to know more about 'gets' function for serial class because I'm trying to implement a read buffer with gets in serial communication.
can someone explain why 'printf, gets' sort of functions are not included in the API summary but still works?
3 years, 3 months ago.
For Mbed OS 5+ the documentation for
getc, etc. are available within the
Serial API documentation page here: https://os.mbed.com/docs/latest/apis/serial.html
Also, as Sharveya stated in the comments, the
RawSerial API documentation is here: https://os.mbed.com/docs/latest/apis/rawserial.html
Please let me know if you have any questions!
- Jenny, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!
2 years, 4 months ago.
Hello Jenny, what's going on? You said "For Mbed OS 5+ the documentation for gets, putc, getc, etc. are available within the Serial API documentation page here: https://os.mbed.com/docs/latest/apis/serial.html" but that is not true.