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.

Each registered service entry itself can be enabled or disabled. This allows to havedifferent services registered to one specific RFComm port enabling and disabling them byneeds.The command set includes just one command to store any SDP record available within theService Database, called "Store Generic SDP Record". Each record includes the profilespecific settings needed.The service records are stored in a database like system within the NVS, so they are stillavailable after reset. The storage of an entry is confirmed by the <strong>RBT</strong>-<strong>001</strong> with a specificrecord identifier. This identifier is needed for the Enabling or Disabling command toaddress those specific entries.Enable SDP RecordDescriptionThis command is used to enable/disable stored SDP records in the<strong>RBT</strong>-<strong>001</strong>.PacketType REQOpcode ENABLE_SDP_RECORDDataLength 2Data State1 byteDescriptionIdentifier1 byteThe new state of the SDP record.0x00 Disable the record.0x01 Enable the record.Confirms the request aboveThe identifier received when the record was stored in the <strong>RBT</strong>-<strong>001</strong>.PacketType CFMOpcode ENABLE_SDP_RECORDDataLength 2DataStatus1 byteERROR_OKERROR_ILLEGAL_STATE_VALUEERROR_IDENTIFIER_OUT_OF_RANGEERROR_RECORD_ALREADY_IN_SELECTED_STATEERROR_IDENTIFIER_NOT_IN_USEIdentifier1 byteERROR_INVALID_NO_OF_PARAMETERSThe identifier received when the record was stored in the <strong>RBT</strong>-<strong>001</strong>.Delete All SDP RecordsDescriptionPacketTypeOpcodeDataLength 0Data NoneDescriptionThis command is used to delete all stored SDP records in the <strong>RBT</strong>-<strong>001</strong>.REQDELETE_SDP_RECORDSConfirms the request abovePacketType CFMOpcode DELETE_SDP_RECORDSDataLength 1DataStatus1 byteERROR_OKERROR_INVALID_NO_OF_PARAMETERSRoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.268

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

Saved successfully!

Ooh no, something went wrong!