Wednesday, June 10, 2009

AT Command for fun

What is AT Commands?

Computers use AT commands to communicate with modems. Most communications applications, however, have a user interface that hides the AT commands from the user. [1]

AT commands can be issued via a communications application. When the software in the Nokia product has received an AT command, it responds with a message that is displayed on the screen of the used device, which can also be the mobile phone. [1]


Some AT commands are not supported by all Nokia products or by all operators. Giving a command that is not supported by the product causes an error response. Some Nokia products do not necessarily support all command parameters and using the unsupported parameters causes an error response. [1]

Simple AT Command for fun ;)
Let's play a bit using your phone! I'm using my Nokia 6120 classic, connect it with bluetooth, open a Hyperterminal. Try to type the green command on your hyperterminal.
1. To call/dial, for example phone number 085612345678
ATD085612345678;
Note: Actually, the reference said to dial ATD085612345678 (without using the semicolon ; ) but somehow my cellphone always give me a "NO CARRIER" response.
So I tried to google, and.. Tadaaa…
Just add a simple semicolon (;) and it's working. I guess the previous one tried to dial using data mode, because when it dialed the number, I saw a "phone-with-letter-D" icon on the upper right corner.
2. To send sms to phone number 085612345678
AT+CMGF=1
OK
AT+CSCS=”GSM”
OK
AT+CMGS=”085612345678”
> Hello world
// end the message by press Ctrl+Z, and then "Enter"

The AT commands above are successfully tested.

Just try it..
This is a basic knowledge for making sms gateway. And, believe me, there are so much more to try! Now you can imagine.. There's a lot of applications that you can make using the AT Commands.
Happy coding!

References:
[1] FORUM NOKIA; AT Command Set For Nokia GSM And WCDMA Products, Version 1.2; July 1, 2005
[2] Charley Yang; SIM300 Software Application Note V2.0

Monday, June 08, 2009

Are you sure this is really a STRAWBERRY pie?

Tadaaaa…..


Ahahahaha. Another weekend project. Maybe you would ask the same question…
Should strawberry pie have the color of red?

Yeah, you are right!
This is a very big mistake :p

I dunno why, but yesterday, the jelly's would not get thickened.
So as my auntie's suggestion, we agreed to give some amount of seaweed powder..
Well, I had not prepared for this. It was really an emergency situation.. 
And guess what?
At that moment, we only had a GREEN seaweed powder at home :P
That's why the color become green 
X-P

How about its taste? Mm..  
The crust is ok ^___^ a big success for me. 
But the jelly is too sweet. I prefer the previous apple pie :(

Here is the recipe.

Next time will be better?
Err.. I guess, next time will be the other kind of dessert :p
No more pie this month.

Maybe pudding or cheesecake? ;D 
Any idea?

Monday, June 01, 2009

Posting blog from my 6120 classic

At last! I found a way to photoblog via my mobile phone. Its quite
simple, more simple than i thought.
Now i'm using:
- nokia 6120 classic
- opera mini web browser
- gmail account, and
- (of course) blogspot account

I guess i also can use a wordpress account for this :)

Now i'm ready for a great holiday :D

Friday, May 22, 2009

Apple Pie Mission: Failed

So..
let me remind u that yesterday is a public holiday yesterday..
what's new for this week?

As planned before, this is the time for…
PIE!
:D
Ahahaha..

I've read couples of recipes and decide to use the apple pie's recipe. I've also watched a step-by-step video of how to make a home made pie crust. Actually, this recipe and video really help me to get a clue of what will I do.

Oh I do really love internet :)
But why… why…????
Why still I failed?? T_T


This is the result.. It taste quite good (for me :p) but.. I think everybody agree that these cups of cake are not pies.
X-P



It's okay. This is the first try. Next time should be better..

Sunday, April 26, 2009

Weekend and pancake

Yesterday was just another weekend.. but in the morning, my father wasn't at home (hurray!!). That's why my auntie and I, went out from our room (not like our usual habit :p) and spent our morning by watching tv together in the living room.
Ooh, that's what I call weekend..

A peaceful morning, watching Bondan Winarno and Bara Pattiradjawane.. They always give me some extra spirit to start my day.

Inspired by Bara, somehow I decided to make pancakeee!  ^___^ not so narpen, isnt it? (actually, Bara didn't make pancake yesterday,, but watching him tells us that "cooking is fun" inspired me to make something simple and sweet)

For the topping, I bought 3 cups of ice cream (from a Walls ice cream bike passed by my house), 2 sachets of condensed milk (susu kental manis), a pack of strawberry, and a pack of raisin. That was too much for the pancake, so when there's no pancake leftover, we still have a lot of strawberries (etc) to eat. However, decorating pancakes was not as easy as I thought..

Here is the picture of our pancakes..

The first one is mine.. (I know, mine is so messy, i pilled up 4 pancakes so its harder to be decorated..)


The second is my auntie's.. After frustating looking at my pancake, I asked her to show me how to decorate pancake. I admit that hers are better.. -.-

And how about the rest of pancakes? We couldn't resist it,, hahaha. They went to our tummy before we had a chance to take any picture of them :p

Next time will be better, coz we all know that practices make perfect.. :D
ps: I got the basic recipe from here, a very nice one

Monday, October 20, 2008

First Step to Socket Programming

We come to the first terms: PROTOCOL.
Maybe some of us often hear the word but dont know what is the meaning of protocol, including me.
So here we start, figure out what is the meaning of protocol..

Protocol is important when we write programs that communicate across a computer network. Protocol is the agreement on how those programs will communicate.

If we started from the high level decision, we should decide, which program is expected to initiate communication (usually, the client side) and when the responses is expected. On the other side, the server side, usually acts as a daemon that sends network messages only in response to request coming from in from the network.

FYI, daemon is a term used for a long running program.

So what is socket?
Sockets are interfaces that can "plug into" each other over a network. Once so "plugged in", the programs so connected communicate.

For getting started your journey with socket programming, I suggest you to try and analyze a socket server programs provided by the MSDN (Microsoft's Developer Network). FYI, now I'm using an October 2004 version of MSDN, and for the IDE (Integrated Development Environment), I'm using Visual Studio 2005. I'll write step by step on trying the socket, based on my experience.

reference:
UNIX® Network Programming Volume 1, Third Edition: The Sockets Networking API, Addison Wesley
http://www.troubleshooters.com/codecorn/sockets/

my team mate

where is he? i've tried to reach him, call him several times, in these several recent days..
i've also sent a message to him, but he never reply.

its ok if he want to go out of the team. But please, be a gentleman, notify me, reply my sms, my call, or just answer the phone (please)!

Maybe i would be mad, but at least each of us could step forward and continue our business..

-.- now i'm alone, doing our documentation and trying to make a big progress for our project. its kind of hard task, but i know i can, and i dont want to be failed.
Hope everything is going to be ok. Amin :)