Search found 4 matches

by darkkor
22 Sep 2011, 12:26
Forum: Mindstorms Software
Topic: [nxc] bluetooth java app to nxt
Replies: 6
Views: 6490

Re: [nxc] bluetooth java app to nxt

Yes, i thougth it has to be something like that, i will ensure the length is not out of range and try it again.

Thanks for all, you are a true Master!! ;)
by darkkor
20 Sep 2011, 14:46
Forum: Mindstorms Software
Topic: [nxc] bluetooth java app to nxt
Replies: 6
Views: 6490

Re: [nxc] bluetooth java app to nxt

Ok I see. I read how the protocol works and with some example I found on the net I make it works :D The java application send a message and the NXT print it on the screen. But something strange happens. The first message received with the instruction ReceiveMessage is empty. However, with the strLen...
by darkkor
18 Sep 2011, 14:46
Forum: Mindstorms Software
Topic: [nxc] bluetooth java app to nxt
Replies: 6
Views: 6490

Re: [nxc] bluetooth java app to nxt

Ok, thanks for all. i think the problem is i'm not using the protocol in the right way. I'm not sure what i have to send to the NXT. I'm using this NXC code to receive messages: string BTReceiveMessage(byte connection, byte mailbox, byte flush){ //receive a BT message string msg; BTWait(connection);...
by darkkor
17 Sep 2011, 10:55
Forum: Mindstorms Software
Topic: [nxc] bluetooth java app to nxt
Replies: 6
Views: 6490

[nxc] bluetooth java app to nxt

Hi, i'm trying t create a java application that send a message from my computer to the NXT brick. I'm using the bluecove library and writing in nxc the NXT program to read this message. There's no problem sending messages from the brick to the computer, but i can't read anything in the brick. I'm no...