i`ve struggled with connect some devices which non NXT brick(Samsung Mobile phone, raspberry pi, MindWave Mobile... etc..)
I just found, they have common features
The first and second address of these devices are not started with 00:
In the method Bluetooth.connect(String , int , Byte),
It use isAddress(String) internally.
in this method, it distinguish whether parameter String is started with "00" or not,
so NXT can`t make connection with these devices .
I found the Solution for this problem,
use inquire method to search devices
add to known Devices list
pick target device from list you want
and Just Use Bluetooth.connect(RemoteDevice d);
but need to solve this problem by making type separation between Address and DeviceName
This is where you talk about the NXJ software itself, installation issues, and programming talk.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest