RBT-001 Module - User Manual v.1.2
RBT-001 Module - User Manual v.1.2
RBT-001 Module - User Manual v.1.2
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Link ReleasedDescriptionIndicates that a DLC link is released. The link release may have beeninitiated locally or remote, or could be caused by a loss of link(disturbance, dead device, ….)PacketType INDOpcode SPP_LINK_RELEASEDDataLength 1DataReason1 byteRefer to section RFCOMM Release Reasons on page 76.LocalPort1 byteLocal RFCOMM port number. Range 1-30Sending / Receiving data on a SPP link (Normal mode)In the normal mode, data are transferred in packets with normal framing.HostA p p lic a tio nR E Q , R F C O M M _ S E N D _ D A T AC F M , R F C O M M _ S E N D _ D A T A<strong>RBT</strong>-<strong>001</strong>D o n g leIN D , R F C O M M _ IN C O M IN G _ D A T ASend DataIf not switched to transparent, data have to be sent to a remote device using thiscommand. The local RFComm Port is used to address the remote device.DescriptionPacketTypeOpcodeDataLengthDataSend data on a SPP link to remote Bluetooth deviceREQSPP_SEND_DATA3 + LocalPort1 bytePayloadSize2 bytesPayloadData bytesLocal RFCOMM port number. Range 1-30Number of data bytes to send.Valid range is 1 to 330 bytes..The data to send.DescriptionConfirm to the request above.PacketType CFMOpcode SPP_SEND_DATADataLength 2DataStatus1 byteLocalPort1 byteRoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.2ERROR_OKERROR_LIMITERROR_UNABLE_TO_SENDERROR_CURRENTLY_NO_BUFFERERROR_NO_CONNECTIONERROR_SPP_INVALID_PORTERROR_SPP_PORT_NOT_OPENLocal RFCOMM port number. Range 1-3050