# Inconsistent parameter counting

**URL:** <https://forum.sierrawireless.com/t/inconsistent-parameter-counting/4623>\
**Category:** Open AT\
**Created:** [August 20, 2010, 1:05pm UTC](https://forum.sierrawireless.com/t/inconsistent-parameter-counting/4623 "2010-08-20T13:05:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [August 20, 2010, 1:05pm UTC](https://forum.sierrawireless.com/t/inconsistent-parameter-counting/4623/1 "2010-08-20T13:05:38Z")

</div>

When you subscribe a custom command, you specify the minimum & maximum numbers of parameters;  
for the purpose of this count, omitted parameters are included.

Example:

```auto
AT+MYCMD=1,,2
```

is considered to have three parameters for the purpose of meeting the maximum/minimum parameter count criteria

But, when this command is delivered to the Handler, its number of parameters will be given as two ❗😕

And, if you use ADL\_GET\_PARAM, you will have to retrieve the first and third parameters - even though the count says there’s only two ❗😕
