# How to send data

**URL:** <https://forum.sierrawireless.com/t/how-to-send-data/2364>\
**Category:** Legacy AirPrime modules\
**Created:** [July 25, 2008, 3:42pm UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364 "2008-07-25T15:42:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh](https://avatars.discourse-cdn.com/v4/letter/y/49beb7/32.png) [@Yogesh](https://forum.sierrawireless.com/u/Yogesh)\
**Post date:** [July 25, 2008, 3:42pm UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364/1 "2008-07-25T15:42:16Z")

</div>

Hello All,

I am developing hardware unit using Q24 wavecom module and one microcontroller.I have to send data from GSM modem through data call. Microcontroller provides data to wavecom module on UART1 (Tx pin).

Now my question is

1. can I send AT commnad & data directly from microcontroller unit without programming the wavecom module  
or
2. do I need to programm wavecom module to generate a data call & then send the data.

In second case how does wavecom module know that data is arrived on tx pin and now collect it & initiate a data call & send it.

What are the steps to do above things.

Your help will be appreciated.

Thanks and Regards

---

<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 25, 2008, 6:16pm UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364/2 "2008-07-25T18:16:40Z")

</div>

> [@Yogesh](#):
>
> 1. can I send AT commnad & data directly from microcontroller unit without programming the wavecom module

Yes, you can use it just as a “dumb” modem - just like any other modem.

> [@](#):
>
> 1. do I need to programm wavecom module to generate a data call & then send the data.

You don’t need to - but it might be easier

> [@](#):
>
> In second case how does wavecom module know that data is arrived on tx pin and now collect it & initiate a data call & send it.

You create an application to do that - in just the same that you would create an application on your microcontroller so that it “knows” when data arrives at its UART input, and reacts accordingly

> [@](#):
>
> What are the steps to do above things

The usual steps:

1. Download & install the SDK;
2. Study the documentation;
3. Follow the tutorial, check out the examples, discuss with the support staff of your distributor
4. Design your application
5. Code, test, etc…

---

<div class="post-metadata">

**Author:** ![hslai](https://avatars.discourse-cdn.com/v4/letter/h/85f322/32.png) [@hslai](https://forum.sierrawireless.com/u/hslai)\
**Post date:** [August 1, 2008, 11:46am UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364/3 "2008-08-01T11:46:52Z")

</div>

Depends on you want to transmit the data via CSD or GPRS.

For CSD, just dialup data call (make sure your SIM card has subscribed the data service) to the far end like typical line modem. When call is answered by the far end, handshaked, you can use the modem as a transparent data channel to send whatever data your want.

For GPRS, you need to dialup and make TCP/UDP socket to the server. Then you can send packet data through the channel. Check the WIP library for details.

---

<div class="post-metadata">

**Author:** ![Yogesh](https://avatars.discourse-cdn.com/v4/letter/y/49beb7/32.png) [@Yogesh](https://forum.sierrawireless.com/u/Yogesh)\
**Post date:** [August 1, 2008, 11:55am UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364/4 "2008-08-01T11:55:50Z")

</div>

Thanks for your reply .

One more question, when controller is ready to send data on UART1 of GSM module then how gsm module knows that that data is arrived on UART1.  
onece data is arrived I have to make a data call. so which API I use to make a data call. In case I use fcm service.

Thanks and Regards

---

<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 1, 2008, 7:05pm UTC](https://forum.sierrawireless.com/t/how-to-send-data/2364/5 "2008-08-01T19:05:34Z")

</div>

Have you actually followed the steps I suggested to you?

In particular, the first three:

> [@I](#):
>
> [b]
> 
> 1. Download & install the SDK;
> 2. Study the documentation;
> 3. Follow the tutorial, check out the examples, discuss with the support staff of your distributor[/b]
> 4. Design your application
> 5. Code, test, etc…

You really need to do those first three first - so that any further suggestions you may receive on this forum will make sense to you!
