pti

Read command

The read command reads locked bands.

An empty string is returned if bandlock is not set.

Response syntax:

%XBANDLOCK: <permanent_lock>,<run_time_lock>,<erase_protected_lock>

The read response parameter and its defined value are the following:

<permanent_lock>
String. Bit string where LSB is band 1. Leading zeros can be omitted. Maximum length 88 characters.
<run_time_lock>
String. Bit string where LSB is band 1. Leading zeros can be omitted. Maximum length 88 characters.
<erase_protected_lock>
String. Bit string where LSB is band 1. Leading zeros can be omitted. Maximum length 88 characters.

The following command example reads the locked bands. No permanent lock, runtime lock for bands 13, 4, and 1. No erase-protected lock:

AT%XBANDLOCK?
%XBANDLOCK: 
"",
"0000000000000000000000000000000000000000000000000000000000000000000000000001000000001001",""
OK