I was also looking for examples for the arduino IDE it’s not clear on where they are or what api it uses. Here is what I found.
I have found some for call and texts but not for data, if you open up the arduino IDE as in the tutorial then do:
you will fine a SMS and call example. I have used the call one and success fully got it to work. The instructions aren’t very good In the call test but what the first block of code does is makes and receives calls.
the charbuffer var at the top is the number that will be called (change it and save the project before you forget, I don’t know who’s number it is but I have called it quite a few times now)
Download the project to the device.
boot the device and connect the modem port (you won’t see first few serial print messages as by the time you connected to the port it’s past them, you can use a delay(10000) to give you time to connect).
enter 1 to dial the preset number.
enter 2 to end the call.
you will also get info on in-coming calls.
I have been looking though the header files too trying to find out what you can make it do. There are better comments in there if you need them.
Hope this helps