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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Read Operation ModeDescriptionThis command will read out the current operation mode.PacketType REQOpcode READ_OPERATION_MODEDataLength 0DataNoneDescriptionConfirms the request abovePacketType CFMOpcode READ_OPERATION_MODEDataLength 2DataStatus1 byteERROR_OKERROR_INVALID_NO_OF_PARAMETERSMode1 Byte0x00 Automatic Operation OFF0x01 Automatic Operation ONWrite Operation ModeDescriptionThis command will change the operation mode stored in NVS. Thenew setting will take effect after a reset.PacketType REQOpcode WRITE_OPERATION_MODEDataLength 1DataMode1 ByteDescriptionConfirms the request above0x00 Automatic Operation OFF0x01 Automatic Operation ONPacketType CFMOpcode READ_OPERATION_MODEDataLength 1DataStatus1 byteERROR_OKERROR_INVALID_NO_OF_PARAMETERSERROR_INVALID_MODESet Ports To OpenDescriptionThis command will change which RFCOMM ports the <strong>RBT</strong>-<strong>001</strong> willopen both at start-up and runtime. The value gets effectiveimmediately and is stored within the NVS to be restored after reset.PacketType REQOpcode SET_PORTS_TO_OPENDataLength 4DataPORTS4 BytesDescriptionConfirms the request abovePacketType CFMOpcode PORTS_TO_OPENDataLength 1DataStatus1 byteThis field is a 32-bit mask indicating which RFCOMM ports the<strong>RBT</strong>-<strong>001</strong> has to open. Bit 30 and 31 must be set to 0. Bit 0 isRFCOMM port 1 and bit 29 is port 30 e.g. if this field has the value0x00000007, port 1 to 3 will be opened. All other ports will beclosed if open.ERROR_OKERROR_INVALID_PORTERROR_INVALID_NO_OF_PARAMETERSRoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.262

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

Saved successfully!

Ooh no, something went wrong!