Documentation  |   Table of Contents   |  < Previous   |  Next >   |  Index

Table of Contents

High-Level Communications

Exploring Palm OS®

About This Document

Who Should Read This Book

What This Book Contains

Changes to This Book

The Exploring Palm OS Series

Additional Resources

Part I: Connection Manager

1 Connections

About the Connection Manager

Overview

Terminology

Connection Profiles

Security Considerations

Persistent Connections

Graph Management

Using the Connection Manager

Making a Connection

Creating a Profile

Changing a Profile

Finding Profiles

Managing Profiles

Configuring Components

Invoking a Function in a Profile Plug-In

Summary of Connection Manager

2 Connection Manager Plug-ins

Network Plug-ins

IPIF Plug-in

ILL Plug-in

PPP Plug-in

Script Plug-in

DLE Plug-in

Examples of Network Profile Strings

Serial Plug-ins

Serial Interface

Serial Plug-in

USB Plug-in

Infrared Plug-in

Bluetooth Plug-in

Telephony Plug-ins

Phone Plug-in

DataCall

3 Connection Manager Reference

Connection Manager Structures and Types

CncConnectionStateType

CncControlType

CncEditMode

CncFindOptionsType

CncInfoType

CncParameterType

Connection Manager Constants

Connection Options

Control Requests

Error Codes

Object Information Flags

Object Types

Parameter Types

Profile Move Constants

Connection Manager Notifications

cncNotifyConnectionStateEvent

Connection Manager Functions

CncCloseSession

CncConnectReceiveState

CncEdgeDelete

CncEdgeNew

CncGetOrOpenSession

CncGetSession

CncInterfaceNew

CncObjectControl

CncObjectDelete

CncObjectFindAll

CncObjectGetIndex

CncObjectGetInfo

CncObjectMoveItem

CncObjectSetInfo

CncParametersFree

CncParametersInit

CncProfileAttach

CncProfileConnect

CncProfileCopy

CncProfileDecode

CncProfileDeleteItem

CncProfileDisconnect

CncProfileEdit

CncProfileEncode

CncProfileFindClose

CncProfileFindConnect

CncProfileFindFirst

CncProfileFindNext

CncProfileGetItemId

CncProfileGetItemIndex

CncProfileGetLength

CncProfileGetParameters

CncProfileInsertItem

CncProfileLock

CncProfileNew

CncProfileRegroupSubmit

CncProfileSetParameters

CncProfileSubmit

CncProfileUngroup

CncProfileUnlock

CncRegisterPluginModule

CncSubProfileAssign

Part II: Exchange Manager

4 Object Exchange

About the Exchange Manager

Exchange Libraries

Typed Data Objects

Initializing the Exchange Socket Structure

Identifying the Exchange Library

Identifying the Type of Data

Registering for Data

General Registration Guidelines

Setting the Default Application

Registering to Receive Unwrapped Data

Sending Data

Sending a Single Object

Sending Multiple Objects

Implementing the Send Command

Receiving Data

Controlling the Exchange Dialog

Getting the Object Description

Receiving the Data

Sending and Receiving Databases

Sending a Database

Receiving a Database

Requesting Data

Sending a Get Request for a Single Object

Responding to a Get Request

Two-Way Communications

Getting the Sender's URL

Requesting a URL

Sending and Receiving Locally

Interacting with the Launcher

HotSync Exchange

Sending Files with HotSync Exchange

Example

Attachment Support Guidelines

Viewing Attachments

Sending an Attachment from a Messaging Application

Sending an Attachment from a Display Application

Email Application Guidelines

Summary of Exchange Manager

5 Exchange Manager Reference

Exchange Manager Data Structures

ExgAskParamType

ExgCtlGetURLType

ExgGoToType

ExgLocalSocketInfoType

ExgPreviewInfoType

ExgSocketType

Exchange Manager Constants

ExgAskResultType

Registry ID Constants

Predefined URL Schemes

Predefined URL Prefixes

Exchange Manager Launch Codes

sysAppLaunchCmdExgAskUser

sysAppLaunchCmdExgGetData

sysAppLaunchCmdExgPreview

sysAppLaunchCmdExgReceiveData

Exchange Manager Functions

ExgAccept

ExgConnect

ExgControl

ExgDBRead

ExgDBWrite

ExgDisconnect

ExgDoDialog

ExgGet

ExgGetDefaultApplication

ExgGetRegisteredApplications

ExgGetRegisteredTypes

ExgGetTargetApplication

ExgNotifyGoto

ExgNotifyPreview

ExgNotifyReceive

ExgPut

ExgReceive

ExgRegisterDatatype

ExgRegisterData

ExgRequest

ExgSend

ExgSetDefaultApplication

Application-Defined Functions

ExgDBDeleteProcPtr

ExgDBReadProcPtr

ExgDBWriteProcPtr

Part III: Personal Data Interchange

6 Personal Data Interchange

About Personal Data Interchange

About vObjects

Overview of vObject Structure

About the PDI Library

PDI Property and Parameter Types

The PDI Library Properties Dictionary

PDI Readers

PDI Writers

Format Compatibility

International Considerations

Features Not Yet Supported

Using the PDI Library

Creating a PDI Reader

Reading Properties

Reading Property Values

Creating a PDI Writer

Writing Properties

Writing Property Values

Specifying PDI Versions

Using UDA for Different Media

About the UDA Library

Using a PDI Reader - An Example

Using a PDI Writer - An Example

Summary of Personal Data Interchange

Summary of Unified Data Access Manager

7 Personal Data Interchange Reference

PDI Library Data Structures

PdiDictionary

PdiReaderType

PdiWriterType

PDI Library Constants

Buffer Management Constants

Encoding Type Constants

Error Code Constants

Parameter Name Constants

Parameter Value Constants

Property Name Constants

Property Type Constants

Property Value Field Constants

Property Value Format Constants

Reader and Writer Options Constants

Reader Event Constants

Value Type Constants

PDI Library Functions

PdiDefineReaderDictionary

PdiDefineResizing

PdiDefineWriterDictionary

PdiEnterObject

PdiLibClose

PdiLibOpen

PdiParameterPairTest

PdiReaderDelete

PdiReaderNew

PdiReadParameter

PdiReadProperty

PdiReadPropertyField

PdiReadPropertyName

PdiSetCharset

PdiSetEncoding

PdiWriteBeginObject

PdiWriteEndObject

PdiWriteParameter

PdiWriteParameterStr

PdiWriteProperty

PdiWritePropertyBinaryValue

PdiWritePropertyFields

PdiWritePropertyStr

PdiWritePropertyValue

PdiWriterDelete

PdiWriterNew

8 Unified Data Access Manager Reference

UDA Manager Data Structures

UDABufferSize

UDAObjectType

UDAFilterType

UDAReaderType

UDAWriterType

UDA Manager Constants

Control Flags

Error Constants

Object Option Flags

Miscellaneous Constants

UDA Manager Functions

UDAControl

UDADelete

UDAEndOfReader

UDAFilterJoin

UDAInitiateWrite

UDAMoreData

UDARead

UDAWriterFlush

UDAWriterJoin

UDA Object Creation Functions

UDAExchangeReaderNew

UDAExchangeWriterNew

UDAMemoryReaderNew