ADL Message Service docs


#1

hi

I ran into a problem with sending/receiving messages.

It wasn’t clear to me that when the receive message handler is called with a data length and pointer, it expects the function to copy the data for long term use.

I was receiving some data in a message and storing the pointer away - then when I used it later finding that it was corrupted or that the system crashed when I modified it.

Could a comment be added to this section explaining that the data memory is only valid during the function call and that a copy must be made if longer term access is required?

peter