Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Palm OS Notification Data Values (Palm OS, PDA Module)

The following table lists the possible values for Palm OS notifications. Use the enumerations in the notification parameters in the Palm OS Notification VIs.

NumberNotificationValue
01connection profile eventdata1[0] = action [0 = created, 1 = modified, 2 = deleted, 3 = updated]
data1[1] = device kind [0 = serial, 1 = modem, 2 = phone, 3 = LAN]
02external connector attacheddata1[0] = device type [0 = USB cradle, 1 = RS232 cradle or peripheral, 2 = power cable, 3 = modem]
03external connector detacheddata1[0] = device type [0 = USB cradle, 1 = RS232 cradle or peripheral, 2 = power cable, 3 = modem]
04antenna raisednone
05application launcheddata2[0] = application name
06application quitdata2[0] = application name
07card inserteddata1[0] = slot reference number
08card removeddata1[0] = slot reference number
09database createddata2[0] = creator ID
data2[1] = database name
10database info changeddata1[0] = action bit field
data2[0] = creator ID
data2[1] = database name
data2[2] = old creator ID, if any
data2[3] = old database name, if any
11database deleteddata2[0] = creator ID
data2[1] = database name
12database dirtydata2[0] = creator ID
data2[1] = database name
13protected database delete attemptdata2[0] = creator ID
data2[1] = database name
14device unlockednone
15display changedata1[0] = old bit depth
data1[1] = new bit depth
16early wakeupnone
18lost passwordnone
19user attention eventdata1[0] = a bit value [0x0001 = sound, 0x0002 = LED, 0x0004 = vibrate, 0x0008 = application-specific custom effect, 0x0000 = system-wide preference, 0xFFFF = uses all available means to get the attention of the user]
21system is idlenone
22insertion point enabled/disableddata1[0] = [0 = disabled, 1 = enabled]
23keyboard dialog displayeddata1[0] = keyboard type [0 = alphabetic, 1 = numbers and punctuation, 2 = international character set accent, 3 = default based on graffiti mode (usually alpha keyboard)]
24late wakeupnone
25system locale changedata1[0] = old language
data1[1] = old country
data1[2] = new language
data1[3] = new country
Refer to the Palm OS PalmLocale.h file for a list of language and country codes.
26menu command bar openednone
27network connect/disconnectdata1[0] = state [1 = network connection is active, 2 = network connection is inactive]
28pen strokedata1[0] = start x coordinate
data1[1] = start y coordinate
data1[2] = end x coordinate
data1[3] = end y coordinate
29reset finishednone
31sleep notifynone
32sleep requestdata1[0] = reason [0 = the user pressed the power off button, 1 = the system reached the idle time limit, 2 = the sleep event resumed after an application deferred the sleep event, 3 = unknown reason]
33sync finishednone
34sync startednone
35sysNotifyTimeChangeEvent time changenone
36virtual character handleddata1[0] = the character code
Refer to the Palm OS Chars.h file for a complete list of virtual characters.
37volume mounteddata1[0] = type of card media [0 = unknown, 1= Memory stick, 2 = Compact Flash, 3 = Secure Digital, 4 = MultiMedia Card, 5 = SmartMedia , 6 = A RAM disk based media, 7 = Host file system emulated by the Palm OS Emulator, 8 = Host file system emulated by the Mac Simulator]
38volume unmounteddata1[0] = type of card media [0 = unknown, 1= Memory stick, 2 = Compact Flash, 3 = Secure Digital, 4 = MultiMedia Card, 5 = SmartMedia , 6 = A RAM disk based media, 7 = Host file system emulated by the Palm OS Emulator, 8 = Host file system emulated by the Mac Simulator]

Refer to the Palm OS SDK documentation at www.palmsource.com for more information about Palm OS notifications.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit