Re: Network without PPP/SLIP

2008-05-29 Thread Peter Easton
, assuming TCP/IP, an IP address. In the case of your Ethernet device, the "base station" has the MAC address and is responsible for obtaining the IP address for the Palm. Hope this helps! Regards, Peter Easton Palm Developer Support David Tribble wrote: > Is it possible to use TCP/IP

Re: TCP stack

2008-05-29 Thread Peter Easton
Hi Raffaella, I'm not sure exactly what your problem is. There is some sample code in the SDK you can use called "NetSample". Regards, Peter Easton Palm Developer Support [EMAIL PROTECTED] wrote: > I'm doing some fonctions for the TCP connection , but I have some T

Re: SLIP

2008-05-29 Thread Peter Easton
Hi Andrew, Palm devices support PPP, SLIP and CSLIP as network interfaces. Regards, Peter Easton Palm Developer Support Andrew Lathrop wrote: > Playing with the export database function on the emulatore, i noticed that > there is a SLIP NetIF database that can be exported. I am wonder

Re: Hotsync signal capture in a virtual driver

2008-05-29 Thread Peter Easton
s far as I know, there is no way to mask this interrupt. Regards, Peter Easton Pam Developer Support Craig Allan Jeffree wrote: > Hello all, > I'm writing a virtual driver for the palm. > > I would like to find a way to capture the hotsync signal from the > driver. Th

Re: Two kick ass interrupt questions!

2008-05-29 Thread Peter Easton
Hi Petrus, Good luck using non-documented and non-supported API's! It sounds like you might be better off using a virtual serial driver. Take a look at knowledgebase article #1812 for some sample code. Regards, Peter Easton Palm Developer Support Petrus Wrangö wrote: > I want

Re: Dialling via IR

2008-05-28 Thread Peter Easton
Hi! If you're using 3.3 or later, try SrmOpen('ircm', ...) then SrmSend to send AT commands. You'll be using IrCOMM, which is a virtual serial port running over Ir. Regards, Peter Easton Palm Developer Support camille gatin wrote: > Hi there, > > Does anybody kn

Re: Reading a peripheral battery level (either analog or digital)

2008-05-28 Thread Peter Easton
et battery information from the attachment. Sorry it's not the answer you're looking for! Regards, Peter Easton Palm Developer Support Richard Anderson wrote: > Anyone know how to do this. I can provide either a voltage or a simple > digtal low battery warning. I cant find anyth

Re: What causes a "Serial Line Error"?

2008-05-28 Thread Peter Easton
ee serial link that gets around these problems. Regards, Peter Easton Palm Developer Support "Noah J. Ternullo" wrote: > Howdy All, > I am undertaking a project which requires me to utilize the Ir. > port directly. I am simply transferring ascii data to the palm throu

Translating error codes into English

2008-05-28 Thread Peter Easton
DRINUSE #define netErrQuietTimeNotElapsed (netErrorClass | 16) //EADDRINUSE #define netErrInternal (netErrorClass | 17) #define netErrTimeout (netErrorClass | 18) //ETIMEDOUT . The correct error is "netErrTimeout" and not "netErrNoInterfaces" because 0x12 = 18!! Hope this helps,

Re: Compile RCP to PRC without __Startup__?

2005-04-05 Thread Peter Easton
Many thanks. Ben, your solution worked. Peter "Peter Easton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I've converted RSRC files to RCP and am trying to add these to my CW 9.3 project. I'm unable to add the resources in the main target beca

Compile RCP to PRC without __Startup__?

2005-04-05 Thread Peter Easton
Hi, I've converted RSRC files to RCP and am trying to add these to my CW 9.3 project. I'm unable to add the resources in the main target because I have too many Access Paths defined (this issue is documented on this forum). I'm not willing to flatten my project folder. It seems like the best

Re: Debugging Code Resources in Codewarrior V9 (continued)

2005-04-05 Thread Peter Easton
sure that your code to load the shared libraries from within your main app PRC is working well first. Hope this helps someone. Regards, Peter "Peter Easton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I've looked at the original thread describing th

Debugging Code Resources in Codewarrior V9 (continued)

2005-03-31 Thread Peter Easton
Hi, I've looked at the original thread describing the problem, and can't get this to work. I built a PRC file (shared library) containing a single 'libr' resource and linked this into my main app PRC file using the Palm OS 68K linker. When debugging, I add the library PRC file to the "Other E

Re: FrmCustomAlert on T3 ?

2005-01-02 Thread Peter Easton
Hi, The last 3 parameters to FrmCustomAlert are strings, so you should call it like this: FrmCustomAlert(FrmErrorAlert,"You", "", ""); Regards, Peter http://www.whizoo.com Contractor for hire (PalmSource Certified Developer) Source code available for all apps Bluetooth Developer Kit for Palm OS

Sound: MIDI -> WAV (will pay)

2004-12-10 Thread Peter Easton
Hi, I'm writing a game and I have MIDI sounds stored in the PRC file. I want to generate WAV (PCM) sounds when the app starts using these MIDI sounds. I'll gladly pay for some source code that does this. The MIDI sounds play very well on Sony handhelds. I have WAV sounds that play well on n

Re: HotSyncing the Treo 650 simulator

2004-12-09 Thread Peter Easton
Hi Paul, As far as I know, no OS 5 Simulator includes the Bluetooth library and other Bluetooth files. My guess is that the same applies to the Treo 650 Simulator. Regards, Peter http://www.whizoo.com Contractor for hire (PalmSource Certified Developer) Source code available for all apps Bluet

Re: Whizoo's "RegCode"

2004-12-09 Thread Peter Easton
Hi Gary, Yes, you can do it yourself. I spent 2 weeks adding reg code support to my apps, and a lot more time investigating what I should do, including speaking to other developers to learn what the shortcoming in their systems were. The result is my "RegCode" package, which I license to othe

Re: Where can I find out the copyright info of some famous games

2004-11-25 Thread Peter Easton
PAC-MAN, Ms. PAC-MAN and Galaxian have just been released by Namco for the Palm OS. They hold the license to these games. http://www.handango.com/PlatformProductDetail.jsp?productId=142654 http://www.handango.com/PlatformProductDetail.jsp?productId=142655 http://www.handango.com/PlatformProductDe

Re: PilRC: Can you define symbols based on CW target?

2004-11-12 Thread Peter Easton
Thanks Ben. That worked! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: PilRC: Can you define symbols based on CW target?

2004-11-12 Thread Peter Easton
Actually, how do I do this? If I add "#include target.h" in the RCP file, how do make separate target.h files for each target? Do I put them in separate folders and add unique project paths for each target? Are CW's paths passed to PilRC? Thanks, Peter -- For information on using the P

Re: PilRC: Can you define symbols based on CW target?

2004-11-12 Thread Peter Easton
Hi Ben, But in the included .H file, I can't use #if __ide_target("Debug"). This means I have to create a separate .H file for each target. Am I right? Pity! I really liked the elegance of "#if __ide_target". Thanks, Peter "Peter Easton" <[EMAIL PRO

PilRC: Can you define symbols based on CW target?

2004-11-12 Thread Peter Easton
Hi, I have a CW 9.3 project and I'd like to include resources based on the CW target. For example, I'd like to have something like this in the RCP file: #if __ide_target("Debug") #define DEBUG #endif Is there a way to do this? Regards, Peter -- For information on using the Palm Develope

Re: Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Very, very nice! This is a very elegant solution. Thanks! Peter "Stefan Stolz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I use this in one header-File: #if __ide_target("Debug") #define DEBUG #endif -- For information on using the Palm Developer Forums, or to unsub

Creating Debug version using CodeWarrior

2004-11-10 Thread Peter Easton
Hi, Creating a new CW project creates 2 targets: Debug and Release. How do I add debugging code to the Debug target? Is there a symbol defined ("DEBUG"?) that I use, or is it a matter of having one file (that defines "DEBUG") included in one target and not in the other? What are my options?

Re: GCC "__attribute__" to CodeWarrior

2004-11-09 Thread Peter Easton
Is there any way to create a compile-time library using GCC that CodeWarrior can use? Is it theoretically possible? Regards, Peter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: GCC "__attribute__" to CodeWarrior

2004-11-08 Thread Peter Easton
Thanks Ben. Digging deeper, my problems extend further. The function below exist in a ".s" 68K assembly file. How do I add these files to my project? Peter "Peter Easton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I'm porting some code f

GCC "__attribute__" to CodeWarrior

2004-11-08 Thread Peter Easton
Hi, I'm porting some code from GCC to CodeWarrior. How Do I handle function definitions like this: int Init(void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *) __attribute__ ((section ("prog"))); void Main(void *) __attribute__ ((section ("prog"))

PilRC.dll plugin for CW 8.x?

2004-11-03 Thread Peter Easton
Hi, I'm using CodeWarrior W 8.2 and I need an updated PilRC plugin that supports GENERATEHEADER (added in PilRC 3.0). Does a newer version of the DLL exist than is on Neil Rhodes web site? Thanks, Peter -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Evaluation licence

2004-09-30 Thread Peter Easton
Hi Barry, I do offer some "registration code" source code. If you search the web you can probably find more. http://www.whizoo.com/apps/regcode.php Regards, Peter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Difference between FrmDoDialog and classic GetEvent loop on exiting sysAppLaunchCmdNotify?

2004-07-07 Thread Peter Easton
Try something like this: // Since this app's form is popped up, you cannot use FrmCloseAllForms to get rid of it // You can also not use FrmReturnToForm because the previous form is outside of the context // of this app. The solution is to do this all manually then, as it is shown here. // Keep

Re: BtVdOpenParams : where are you?

2004-06-22 Thread Peter Easton
Hi Peter, Bluetooth is documented in the "Palm OS Companion2.pdf" file. Regards, Peter http://www.whizoo.com Contractor for hire (PalmSource Certified Developer) Source code available for all apps Bluetooth Developer Kit for Palm OS BtSerial Pro - Serial Port Client for Palm OS BtSerial - Bluet

Re: NetLib crash

2004-05-25 Thread Peter Easton
Hi Neil, Nothing in your email is a likely cause of the crash. There must be some other information that you haven't disclosed that is responsible. Procedural alarms are only dangerous if you don't clear them when your app exits, and you haven't locked your code resource. Opening and closing th

Re: POSE vs Tungsten|E

2004-05-22 Thread Peter Easton
Hi Ben, That is interesting. So the solution would be to handle this event (handled = true) and generate a new keyDownEvent with data.keyDown.chr = '*'? I'd also add a "signature" (like setting screenX to 0x) so that you know the event should be ignored when it appears in your event handler

Re: No modem for Zire 72

2004-05-07 Thread Peter Easton
Hi, I've used both my mobile phone (T68) and the Zoom modem. The Zoom Bluetooth modem is awesome and only cost $75. I can't imagine using a sled/cabled modem anymore. Another plus is that is works with all my BT handhelds no matter what connector they use - something a sled/cable can't do. Reg

Re: close current app?

2004-05-03 Thread Peter Easton
Hi, Try calling "EvtAddEventToQueue" instead of "FrmDispatchEvent". Regards, Peter http://www.whizoo.com Contractor for hire (PalmSource Certified Developer) Source code available for all apps!! BtSerial Pro - Serial Port Client for the Palm OS BtSerial - Bluetooth Serial Port Client for the P

Re: Events and active forms

2004-02-22 Thread Peter Easton
Hi Jan, A very good question! The best way to handle this is to create your own event queue and post a custom event when you add an event to this queue. In your main form loop, when you receive this custom event you should retrieve the BT event from your custom queue. Also in your main event lo

Re: Events and active forms

2004-02-19 Thread Peter Easton
Hi Jan, A very good question! The best way to handle this is to create your own "event" queue and post a custom event when you add an event to this queue. In your main form loop, when you receive this custom event you should retrieve the BT event from your custom queue. Also in your main event

CodeWarrior: #IF SIZEOF(struct) == X ?

2003-12-19 Thread Peter Easton
Hi, I'm looking to receive some kind of compile-time notification if a structure size isn't what I'd expect it to be. Something like: #IF SIZEOF(MyStructType) != 100 DISPLAY "Oops, there's problem" Thanks, Peter -- For information on using the Palm Developer Forums, or to unsubscribe, plea

Re: Living well as an independent PalmOS developer

2003-11-12 Thread Peter Easton
Hi, I've been independent for almost 2 years now. It was a good decision. My income is less than the full-time job I gave up - but that's half the story. I really love what I'm doing. I like all the challenges and the learning. There's a huge learning curve when you first start out, and income

Re: Sample of NMEA data from an Emtac Bluetooth GPS

2003-11-10 Thread Peter Easton
Hi Werner, You should be able to use my BtSerial or BtSerial Pro applications to do this. Connect to the GPS and receive data. Highlight the text received then cut & paste in into Notepad. Do a HotSync and you'll have your data. Both applications can display the data as Hex or Ascii. Regards,

App to view pending alarms?

2003-11-05 Thread Peter Easton
Hi, I seem to remember that there is an app that lists all pending alarms for all applications. Does anyone know what the app is called, and where I can get it from? Thanks, Peter -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev

Re: SrmReceiveCheck Workaround

2003-11-01 Thread Peter Easton
Hi Mike, >>Does BT on the Palm not have the buffer delay bug? No, the BT radio forwards packets to the Palm BT stack as soon as it receives them. The Palm can ACK packets in less than 1 ms, and respond to inbound packets in less than 2ms. In addition, Bluetooth offers higher bandwidth (up to 723

Re: SrmReceiveCheck Workaround

2003-11-01 Thread Peter Easton
Hi Mike, Not meaning to belittle your problems, but have you considered moving your hardware to use Bluetooth instead of RS-232? I'm sure there are RS-232 <--> Bluetooth converters on the market as an interim step to integrating Bluetooth into whatever you are connecting to. A few companies (lik

Translating error codes into English

2000-08-31 Thread Peter Easton
DRINUSE #define netErrQuietTimeNotElapsed (netErrorClass | 16) //EADDRINUSE #define netErrInternal (netErrorClass | 17) #define netErrTimeout (netErrorClass | 18) //ETIMEDOUT . The correct error is "netErrTimeout" and not "netErrNoInterfaces" because 0x12 = 18!! Hope this helps,

Re: What causes a "Serial Line Error"?

2000-08-22 Thread Peter Easton
ee serial link that gets around these problems. Regards, Peter Easton Palm Developer Support "Noah J. Ternullo" wrote: > Howdy All, > I am undertaking a project which requires me to utilize the Ir. > port directly. I am simply transferring ascii data to the palm throu

Re: Reading a peripheral battery level (either analog or digital)

2000-08-21 Thread Peter Easton
et battery information from the attachment. Sorry it's not the answer you're looking for! Regards, Peter Easton Palm Developer Support Richard Anderson wrote: > Anyone know how to do this. I can provide either a voltage or a simple > digtal low battery warning. I cant find anyth

Re: Dialling via IR

2000-08-18 Thread Peter Easton
Hi! If you're using 3.3 or later, try SrmOpen('ircm', ...) then SrmSend to send AT commands. You'll be using IrCOMM, which is a virtual serial port running over Ir. Regards, Peter Easton Palm Developer Support camille gatin wrote: > Hi there, > > Does anybody

Re: Direct Serial connection for TCP/IP woes

2000-08-14 Thread Peter Easton
for a username and password. In one case the PPP server does, the second time it doesn't. This makes me think that the Palm is authentication to 2 different PPP servers. Regards, Peter Easton Palm Developer Support David Tribble wrote: > I'm glad to know that the login script gets pr

Re: Direct Serial connection for TCP/IP woes

2000-08-11 Thread Peter Easton
l. It probably needs further configuration. Regards, Peter Easton Palm Developer Support David Tribble wrote: > G'Day, > > I'm trying to use a wireless Ethernet connection as my serial connection > between my Palm and a RAS server. The connection works with just a >

Re: SetSocketOption TCP

2000-08-10 Thread Peter Easton
Hi! I agree with Greg. It would work using POSE, since NetLib calls are redirected to your PC's TCP/IP stack. Regards, Peter Easton Palm Developer Support [EMAIL PROTECTED] wrote: > Hi, > is there any one that could explain why if I 'm setting the Socket option to > netSo

Re: Multiple TCP connects

2000-08-10 Thread Peter Easton
Hi Carlos, I suspect your server is configured to only accept one connection at a time. This is often the case for sharware FTP servers, and might be what you're seeing. Regards, Peter Easton Palm Developer Support DCU wrote: > Rus, > > Thank you for your response. The error

Re: Hotsync signal capture in a virtual driver

2000-08-09 Thread Peter Easton
Craig, You app could handle the vchrHardCradle and vchrHardCradle2 keys to prevent the HotSync app from running. You can't do this from a virtual driver however. Regards, Peter Easton Palm Developer Support Craig Allan Jeffree wrote: > Peter Easton wrote: > > > Hi C

Re: Simple question about my serial code

2000-08-08 Thread Peter Easton
Hi Patrick, What is the scope of SerNum? It should be a global variable otherwise its value will be lost between subsequent calls to your event handler. Regards, Peter Easton Palm Developer Support Patrick Ouellet wrote: > Here's my code... > Follow comment... > > cas

Re: Serial Comms Debug Problem

2000-08-08 Thread Peter Easton
Hi Richard, Does your app receive huge amounts of data? The OS is not very good at managing CTS, which could be causing overflow. Are you checking for (and handling) serial errors in your code? If you're still having problems you might consider posting some source code. Regards,

Re: Two kick ass interrupt questions!

2000-08-02 Thread Peter Easton
Hi Petrus, Good luck using non-documented and non-supported API's! It sounds like you might be better off using a virtual serial driver. Take a look at knowledgebase article #1812 for some sample code. Regards, Peter Easton Palm Developer Support Petrus Wrangö wrote: > I want

Re: Hotsync signal capture in a virtual driver

2000-08-02 Thread Peter Easton
s far as I know, there is no way to mask this interrupt. Regards, Peter Easton Pam Developer Support Craig Allan Jeffree wrote: > Hello all, > I'm writing a virtual driver for the palm. > > I would like to find a way to capture the hotsync signal from the > driver. Th

Re: SLIP

2000-07-31 Thread Peter Easton
Hi Andrew, Palm devices support PPP, SLIP and CSLIP as network interfaces. Regards, Peter Easton Palm Developer Support Andrew Lathrop wrote: > Playing with the export database function on the emulatore, i noticed that > there is a SLIP NetIF database that can be exported. I am wonder

Re: TCP stack

2000-07-31 Thread Peter Easton
Hi Raffaella, I'm not sure exactly what your problem is. There is some sample code in the SDK you can use called "NetSample". Regards, Peter Easton Palm Developer Support [EMAIL PROTECTED] wrote: > I'm doing some fonctions for the TCP connection , but I have some T

Re: Network without PPP/SLIP

2000-07-31 Thread Peter Easton
, assuming TCP/IP, an IP address. In the case of your Ethernet device, the "base station" has the MAC address and is responsible for obtaining the IP address for the Palm. Hope this helps! Regards, Peter Easton Palm Developer Support David Tribble wrote: > Is it possible to use TCP/IP