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.

Get Ports To OpenDescriptionPacketTypeOpcodeDataLength 0DataDescriptionThis command will get the value of which RFCOMM ports the <strong>RBT</strong>-<strong>001</strong>will open both at start-up and runtime.REQGET_PORTS_TO_OPENConfirms the request abovePacketType CFMOpcode PORTS_TO_OPENDataLength 5DataStatus1 bytePORTS4 BytesERROR_OKERROR_INVALID_NO_OF_PARAMETERSThis 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.Restore Factory SettingsDescriptionPacketTypeOpcodeDataLength 0DatanoneDescriptionThis command will restore the <strong>RBT</strong>-<strong>001</strong> configuration in NVS to factorysettings. The factory settings are similar to all default settings listed inthe table on page 13.The <strong>RBT</strong>-<strong>001</strong> needs to be restarted in order to let the changes takeeffect. No commands that write to NVS should be sent to the device inbetween RESTORE_FACTORY_SETTINGS REQ and CFM. WhenCFM is sent all the factory settings are completed.REQRESTORE_FACTORY_SETTINGSConfirms the request abovePacketType CFMOpcode RESTORE_FACTORY_SETTINGSDataLength 1DataStatus1 byteERROR_OKERROR_INVALID_NO_OF_PARAMETERSStore Class of DeviceDescriptionThis command will store the class of device for the <strong>RBT</strong>-<strong>001</strong> in NVS.The proper value for the class of device parameter is specified by theBluetooth SIG.PacketType REQOpcode STORE_CLASS_OF_DEVICEDataLength 3DataClassOfDevice3 bytesThe class of device value to be stored in NVS.RoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.263

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

Saved successfully!

Ooh no, something went wrong!