From: Adrian M. <ad...@mc...> - 2002-02-06 23:15:11
|
Would/could one of the maple gurus help me with this? I have tried using all the commands shown on Marcus Comstedt's site. The simple ones: Request device information Request extended device information Reset device Shutdown device All work. But so far none of the other commands have worked - all generate the unknown command repsonse (-3). I suppose my questions are: Are there likely to be other commands - or is Marcus C list likely to be comprehensive? What is the correct way to set up commands with parameters? Latest bit of code I am using: if (data->mq.done) { data->mq.command = 14; data->mq.length = 2; ((unsigned long *)data->mq.recvbuf)[0] = MAPLE_FUNC_MICROPHONE; ((unsigned long *)data->mq.recvbuf)[1] = 1<<16; ((unsigned long *)data->mq.recvbuf)[2] = 0x0; data->mq.sendbuf = data->mq.recvbuf; maple_add_packet(& data->mq); } but I have tried all sorts of other combinations too! In the meantime I will continue to plug away. At least I am really beginning to understand how this (maple) all works. Adrian |