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.
Reading the user-friendly name of the local deviceHostA p p lic a tio nR E Q , R E A D _ L O C A L _ N A M E<strong>RBT</strong>-<strong>001</strong>S im p ly B lu eC F M , R E A D _ L O C A L _ N A M ERead Local NameDescriptionRequest the user-friendly name for the local Bluetooth device.PacketType REQOpcode GAP_READ_LOCAL_NAMEDataLength 0DataNoneDescriptionPacketTypeOpcodeDataLengthDataConfirm to the request above.CFMGAP_READ_LOCAL_NAME2 + NameLengthStatusERROR_OK1 byteERROR_INVALID_NO_OF_PARAMETERSERROR_UNKNOWN_ERRORNameLength Number of bytes in device name1 byteDeviceNameNameLength bytesThe user-friendly name of the local device.The string is NULL terminated. . Max length is 40 bytes.Changing the user-friendly name of the local deviceHostA p p lic a tio nR E Q , W R IT E _ L O C A L _ N A M E<strong>RBT</strong>-<strong>001</strong>S im p ly B lu eC F M , W R IT E _ L O C A L _ N A M EWrite Local NameDescriptionPacketTypeOpcodeDataLengthDataChange the user-friendly name for the local Bluetooth device. Thename is stored in NVSREQGAP_WRITE_LOCAL_NAME1+ NameLengthNameLengthNumber of bytes in device nameDeviceNameLength bytesThe user-friendly name of the local device.(String must be NULL terminated). Max length is 40 bytes.RoboTech Bluetooth Serial <strong>Module</strong><strong>User</strong> <strong>Manual</strong> Ver. 1.228