[WiiC] OSX bug - Expansions
Brought to you by:
gabriele82rm
|
From: Otavio N. Z. <ota...@gm...> - 2015-08-26 17:26:06
|
Hi, I'm running the library at a OSX 10.10 and I'm having the same bug with the attachments that many people had reported (Motion Plus freezes the example program and other expansions does not report their status). First I've tried to track the problem with the use of a nunchuk. When i connect the nunchuk, the function *propagate_event* at *events.c *lauches the *WM_RPT_CTRL_STATUS* event, which (after a few lines of code) calls *handshake_expansion *at the same file. This first call of *handshake_expansion *creates a callback via a call of *wiic_read_data_cb *function. This callback is correctly put into the *"wiimote_t.read_req"* list of callbacks. The problem is: this callback is never consumed. Does anybody have a lead how to fix that? Can I help somehow? I assume that the wiimote should call an event of *WM_RPT_READ* in order to consume the listed callback and call the right expansion handshake, but that's not happening. I apologize for being prolix and for my bad english. -- *Otávio Netto Zani* *Tel*: (011) 98371-3913 Projeto - Trekking *Equipe Phoenix de Desafio de Robôs* http://phoenixunicamp.com.br/ *Engenharia de Controle e Automação - Unicamp* |