I couldn't see this specified in the documentation anywhere. I can see from the return values that you should use 'return len | (1u<<31)' if you want to call the process command function for the same command but not knowing the buffer size for the response means I'm not sure at what size of response i should breaking it down into and what size of chunks
Thanks for coming back to share the solution you found :)