03.01.2013 Views

Chapter 1

Chapter 1

Chapter 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 16.1<br />

The servers are:<br />

� C32 – the serial communications server, which drives the communications ports and<br />

also runs serial-like protocols that use other communications services.<br />

� ESOCK – the sockets server, which provides a sockets-based API that's used for dialup<br />

TCP/IP, IrDA via the infrared port and Bluetooth.<br />

� ETEL – the telephony server, which is used to control phone-like devices including<br />

landline and mobile-phone modems, enabling them to make fax, data, and voice calls.<br />

� Messaging – provides SMS and MMS send/receive, and Internet e-mail using dial-up<br />

TCP/IP for SMTP send, POP3/IMAP4 receive.<br />

The first three of these servers work closely together to offer communications facilities to<br />

higher-level programs, including the communications applications included in Symbian OS:<br />

Battleships uses two communications protocols:<br />

� Bluetooth sockets, for short-range links<br />

� SMS (short message service) text messages, for long-range links. I'll give descriptions<br />

for the implementations for drivers for both these protocols in <strong>Chapter</strong>s 19 and 20. By<br />

reading these chapters, you'll gain specific insight into how the main communications<br />

components of Symbian OS fit together.<br />

You can also find good overview technical information on the communications facilities in<br />

technical papers on Symbian's website, and detailed API references in the product-specific<br />

SDKs available from the product manufacturers.<br />

16.2 Battleships without Communications<br />

The main problem with communications is that it's complicated. The final Battleships<br />

application has over 70 classes. There is simply no way to produce an application like that<br />

without planning carefully how to get from here to there.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!