2 of 2 people found this helpful
The /QSS command requires the correct conn_handle passed as argument. For example, after I established a BLE connection, the board gave me the following event:
From the result I knew that the current conn_handle is 01 (inferred from the field "C=01"). So in order to get the RSSI using /QSS, I should send the following command:
And then I get the following response:
It tells me the RSSI is D1.
If I send the following command:
Or just the following command:
I will get the following response:
And the field "0502" stands for EZS_ERR_GAP_CONNECTION_REQUIRED, which tells me I didn't specify the correct conn_handle.
/BTQSS always require the argument macaddr. For example, you should send commands like below:
Then you get the correct results like:
And in your case, you got the following error:
The field "0203" here indicates EZS_ERR_PROTOCOL_MISSING_REQUIRED_ARGUMENT. So remember to add the correct arguments to the commands.
For more details, refer to the user guide below:
Sincere regards from C. L.