12.07.2015 Views

RBT-001 Module - User Manual v.1.2

RBT-001 Module - User Manual v.1.2

RBT-001 Module - User Manual v.1.2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Commands in Command ModeThe <strong>RBT</strong>-<strong>001</strong> implements a complete command set for bluetooth operation and localconfiguration. The command set is based on a request/confirm scheme meaning anycommand will be confirmed by an appropriate event including the same opcode.Searching for remote devicesThe <strong>RBT</strong>-<strong>001</strong> implements the basic Bluetooth functionalities ("GAP"), and offers simpleinterfaces for locating other Bluetooth devices (Inquiry and name discovery), and easyconfiguration of the local Bluetooth device.HostA p p lic a tio nR E Q , IN Q U IR Y<strong>RBT</strong>-<strong>001</strong>S im p ly B lu eIN D , D E V IC E _ F O U N DF o r e a ch fo u n dd e viceC F M , IN Q U IR YInquiryDescriptionPacketType REQOpcode GAP_INQUIRYDataLength 3DataLength1 byteNumResponses1 byteDescriptionInitiates a search for other Bluetooth devices.Mode1 BytePacketType CFMOpcode GAP_INQUIRYDataLength 1DataStatus1 byteDuration of inquiryRange: 0x01 -0x30 (1.28s - 61.44s)Maximum number of responsesRange: 0x00 - 0xFF0x00 = Unlimited number of responses.General Inquiry 0x00Limited Inquiry 0x01Confirms that the search for other Bluetooth devices is complete.ERROR_OKERROR_DURATION_OUT_OF_RANGEERROR_INVALID_MODEERROR_INVALID_NO_OF_PARAMETERSDevice FoundDescriptionIndicates that a device has been found.PacketType INDOpcode GAP_DEVICE_FOUNDDataLength 9DataBdAddrBluetooth device address of the found device.6 bytesDeviceClass Class of the found device.3 byteRoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.226

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!