*send command macro
and 
*set pair key macro 
don't works.
here you have an example of at command structure to verify the correct syntax:
correct syntax is not possible to add.
			
			
									
						HC05 Bluetooth: send command and set pair key macro problem!!!
- 
				Mcolin
 - Posts: 11
 - http://meble-kuchenne.info.pl
 - Joined: Thu Aug 17, 2023 3:45 am
 
Re: HC05 Bluetooth: send command and set pair key macro problem!!!
command to change name works!! so, the communication between micro controller an Bluetooth module its OK!!
			
			
									
						- 
				kersing
 - Valued Contributor
 - Posts: 194
 - Joined: Wed Dec 02, 2020 7:28 pm
 - Has thanked: 81 times
 - Been thanked: 64 times
 
Re: HC05 Bluetooth: send command and set pair key macro problem!
If you need to send quotes within a string you can use a backslash to escape it,
So your correct command translates to “AT+PSWD=\”6789\”” in the expression box.
			
			
									
						So your correct command translates to “AT+PSWD=\”6789\”” in the expression box.