I am connecting my iPhone to windows laptop through 32feet blue tooth connection in hands free profile. I am able to initiate call in the iphone using AT commands through the blue tooth connection. But I am not able to send sms from the beginning. I am sending the following AT commands
"ATE\r",
"AT\r",
"AT+CMGF=1\r",
"AT+CMGS=\"" + phoneNumber + "\"\r",
"SMS over Bluetooth\n",
$"{26}"
For all the above AT commands the smartphone is returning an Error except for the AT command where the response is OK. I am not sure what are the AT commands we need to send to a smartphone to make it send SMS to any number.