OS_SendString using

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • OS_SendString using

    Hi,
    Segger proposes to use OS_SendString for Tx uart communication by application, it's good but not enough. What about sending buffer instead of null-terminated string. Any solution ?

    Thx
  • Hello,

    we propose to use OS_SendString when you use profiling and want to send a string to embOSView terminal.
    If you want to send any application data I guess you don't want to use embOSView on PC side.
    In this case you have to write you uart routines by yourself, but you can use of course our uart functions as a template.

    Kind regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • No, that means that you can use the uart on two ways:
    1. You use OS_SendString with our uart routines and on PC side you have to use embOSView.
    2. Or you write your own uart routines and you can use on PC side whatever you like

    embOS uses for profiling a simple protocol, so when you send "Hello World" via OS_SendString() embOS will also send some protocol bytes.


    Regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.