Don’t forget that the context variable is a pointer to your data, NOT the data itself.
You have to adl_memGet() some memory first, then call the command with the context, and don’t forget to adl_memRelease() the variable in your handler when you’ve finished with it or you will end up with a memory leak.