What's the class of device for NXT bluetooth??

Post your NXJ projects, project ideas, etc here!

Moderators: 99jonathan, roger, imaqine

What's the class of device for NXT bluetooth??

Postby lin54390 » Mon Dec 12, 2011 7:27 pm

Hi guys,
I am stuck at using the method
inquire from bluetooth class:
What's the cod for NXT bluetooth?????

public static Vector<RemoteDevice> inquire(int maxDevices,
int timeout,
int cod)Start a Bluetooth inquiry process

Parameters:
maxDevices - the maximum number of devices to discover
timeout - the timeout value in units of 1.28 seconds
cod - the class of device to look for
Returns:
a vector of all the devices found


Many thanks for any answer!



--------------------------------------------------------------------------------
lin54390
New User
 
Posts: 2
Joined: Thu Dec 08, 2011 10:59 pm

Return to NXJ Projects

Who is online

Users browsing this forum: No registered users and 0 guests

more stuff