I work on a draft resolution to a sudoku grid, a C # program detects the sudoku grid on the smartphone, solves the grid and sending data to the nxt to fill the remaining boxes.
The dailogue between the PC and the nxt is OK, but the nxt must send a command to the computer in each filled boxes.
I tried several commands but feel results
, the PC does not see information and yet the program in C # wait for further information.
cCmdMessageAddToQueue(kQueueID, nXmitBuffer, kMaxSizeOfMessage);
TFileIOResult messageOut = cCmdMessageWriteToBluetooth(0, nTransmitBuffer, kMaxSizeOfMessage, mailbox1);
TFileIOResult nxtWriteRawBluetooth(const short nStream, ubyte *pData, const short nLength);
Has anyone ever worked on communication between the NXT and a program on a PC, especially the part sends information to the PC via a mailbox.
Thank you for your help.
Excuse me for my English is not great.