# List of function?

**URL:** <https://forum.sierrawireless.com/t/list-of-function/3422>\
**Category:** Open AT\
**Created:** [July 10, 2009, 3:28am UTC](https://forum.sierrawireless.com/t/list-of-function/3422 "2009-07-10T03:28:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MLCarter](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MLCarter](https://forum.sierrawireless.com/u/MLCarter)\
**Post date:** [July 10, 2009, 3:28am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/1 "2009-07-10T03:28:59Z")

</div>

Another newbie question. What is the function to convert u16 to string?  
eg the correct solution for this  
counter++;  
s=c\_str(counter);  
adl\_atSendResponse ( ADL\_AT\_UNS,s);

And more importantly is there a concise list of the available functions and their systax. I have looked in the User guide and this does not seem to cover the basic C functions

---

<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:** [July 10, 2009, 6:46am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/2 "2009-07-10T06:46:09Z")

</div>

> [@MLCarter](#):
>
> is there a concise list of the available functions and their systax.

No, there isn’t - but it would be quite a useful thing to have, wouldn’t it?

> [@](#):
>
> I have looked in the User guide and this does not seem to cover the basic C functions

The standard ‘C’ functions work as defined in the ‘C’ standard.

The list of these functions is in the section, “Basic Features” under “Standard C function set” - there you have the usual suspects like itoa and sprintf…

There is also the “String Processing Function Set” - with some functions more directly targetted at handling the text of AT commands and responses.

---

<div class="post-metadata">

**Author:** ![MLCarter](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MLCarter](https://forum.sierrawireless.com/u/MLCarter)\
**Post date:** [July 10, 2009, 8:45am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/3 "2009-07-10T08:45:29Z")

</div>

Thanks for that but which document is that in? Its not in the “ADL User guide for Open AT” that comes up from M2Mstudio.

---

<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:** [July 10, 2009, 9:22am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/4 "2009-07-10T09:22:41Z")

</div>

It has been in every version of the ADL User Guide that I’ve seen since 3.something - but I wouldn’t put it past Wavecom to have “lost” it in the latest release with M2MStudio… 😒

The one I’m specifically looking at at the moment came with the v2.12 SDK - which, I think, was the last to be separate from M2MStudio?

> [@](#):
>
> ADL User Guide for Open AT® OS v6.11  
> Reference: WM\_DEV\_OAT\_UGD\_080  
> Revision: 004  
> Date: October 14, 2008

> [@](#):
>
> Table of Contents  
> 1 Introduction…8  
> 1.1 Important Remarks…8  
> 1.2 References…8  
> 1.3 Glossary…8  
> 1.4 Abbreviations…9  
> 2 Description…11  
> 2.1 Software Architecture…11  
> 2.2 ADL Limitations…12  
> 2.3 Open AT® Memory Resources…12  
> 2.4 Defined Compilation Flags…13  
> 2.5 Inner AT Commands Configuration…14  
> 2.6 Open AT® Specific AT Commands…14  
> 2.7 Notes on Wavecom Firmware…15  
> 2.8 Security…16  
> 2.9 RTE limitations…17  
> 3 API…18  
> 3.1 Application Entry Points Interface…18  
> 3.2 Basic Features…25

> [@](#):
>
> 3.2.3 Standard Library  
> 3.2.3.1 Standard C Function Set  
> The available standard APIs are defined below:  
> ascii \* wm\_strcpy ( ascii \* dst, ascii \* src );  
> ascii \* wm\_strncpy ( ascii \* dst, ascii \* src, u32 n );  
> ascii \* wm\_strcat ( ascii \* dst, ascii \* src );  
> ascii \* wm\_strncat ( ascii \* dst, ascii \* src, u32 n );  
> u32 wm\_strlen ( ascii \* str );  
> s32 wm\_strcmp ( ascii \* s1, ascii \* s2 );  
> s32 wm\_strncmp ( ascii \* s1, ascii \* s2, u32 n );  
> s32 wm\_stricmp ( ascii \* s1, ascii \* s2 );  
> s32 wm\_strnicmp ( ascii \* s1, ascii \* s2, u32 n );  
> ascii \* wm\_memset ( ascii \* dst, ascii c, u32 n );  
> ascii \* wm\_memcpy ( ascii \* dst, ascii \* src, u32 n );  
> s32 wm\_memcmp ( ascii \* dst, ascii \* src, u32 n );  
> ascii \* wm\_itoa ( s32 a, ascii \* szBuffer );  
> s32 wm\_atoi ( ascii \* p );  
> u8 wm\_sprintf ( ascii \* buffer, ascii \* fmt, … );

> [@](#):
>
> 3.2.3.2 String Processing Function Set  
> Some string processing functions are also available in this standard API.

---

<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:** [July 10, 2009, 9:44am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/5 "2009-07-10T09:44:55Z")

</div>

> [@awneil](#):
>
> It has been in every version of the ADL User Guide that I’ve seen since 3.something

Actually, that’s not quite true. 😊

In the (early) 3.something days, it was just cross-referenced from the so-called “Basic i [/i]Development Guide” (now discontinued).

---

<div class="post-metadata">

**Author:** ![MLCarter](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@MLCarter](https://forum.sierrawireless.com/u/MLCarter)\
**Post date:** [July 11, 2009, 5:32am UTC](https://forum.sierrawireless.com/t/list-of-function/3422/6 "2009-07-11T05:32:41Z")

</div>

😊😊 yes I do have that! Thanks
