Hello everyone,
I’m currently working on a project involving BLE on a EC200U-CN modem, and I’m running into an issue with the AT+QBTLESMPCFG
command. My goal is to set up secure BLE using passkey pairing, but I keep encountering a +CME ERROR: 58
when executing the command.
Here’s a brief rundown of what I’ve done so far:
1. Power On the Bluetooth Module
AT+QBTPWR=0
AT+QBTPWR=1
-
Set the Bluetooth Device Name
AT+QBTNAME=0,"BT"
-
Clear Existing GATT Server Configurations
AT+QBTGATSSC=0
-
Configure Pairing Capabilities
AT+QBTLESMPCFG="setting",2,13,123456,260
When I run the AT+QBTLESMPCFG
command, I receive the following error:
+CME ERROR: 58
Troubleshooting Attempts
- Tried different combinations of IO capabilities and authentication requirements.
- Verified command format and parameters against the Quectel documentation.
Has anyone encountered a similar issue with the AT+QBTLESMPCFG
command? Any insights or suggestions on how to resolve the +CME ERROR: 58
would be greatly appreciated. Specifically:
- Are there any additional commands I need to execute before
AT+QBTLESMPCFG
? - Is there a specific format or sequence that I might be missing?
Thank you in advance for your help!
TnR,
Kanishk