RN4677 Bluetooth
®
4.0 Dual Mode Module User’s Guide
DS50002377A-page 22 2015 Microchip Technology Inc.
2.3.23 S:,<H16>,<data>
This command is used to change any settings in configuration EEPROM.
This command expects two parameters. The first parameter is a 16-bit hex value that
represents memory address of EEPROM of the first byte of data. If there is more than
one byte of data to be written, the memory address automatically increases. Set the
second parameter value with the following format:
• Hex values up to 32 bytes.
• ASCII values up to 32 characters; enclosed by a quote
User must understand the mapping between EEPROM memory address and
configuration parameters for the RN4677.
Default:
N/A
Example:
2.3.24 S>,<0,1>
Command S> enable or disable command prompt. If command prompt is on whenever
RN4677 is ready to receive a command, prompt
CMD> is sent to UART to notify user
that RN4677 is ready for next command. This feature releases the host MCU load to
keep track of command response and timing requirements.
Default:
1
Example:
2.4 GET COMMANDS
The Get commands retrieve and display the stored information of the device. Most of
these commands do not have a keyword or character and do not take any parameters.
2.4.1 D
This command displays basic settings such as the address, name, UART settings,
security, pin code, bonding, and remote address.
Example:
S:,0010,414243 // Set device name to be "ABC", where device
// name is stored in EEPROM starting from
// memory address 0x0010
S:,0010,"ABC" // Set device name to be "ABC", where device
// name is stored in EEPROM starting from
// memory address 0x0010
CAUTION
Use caution when writing values to the EEPROM memory. Incorrect values can give
unexpected results. It is strongly recommended to contact Microchip Technical
Support before using this command.
S>,0 // Turn off command prompt
D // Display basic settings