[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nsbasic-palm
Subject:    Re(2): [nsbasic-palm] IR SerialSet error 770
From:       "George Henne" <gh () nsbasic ! com>
Date:       2004-10-28 1:11:32
Message-ID: 20041028021132.23844 () nsbasic ! com
[Download RAW message or body]


It seems there are differences between any two recent PalmOne devices
when it comes to Serial Communications, either RS 232 or IR. We're trying
to get a handle on what works and what doesn't, but there is no
documentation available to help. 

>
>When I compile IRTEST without NSBruntimeARM68K the 770 error goes away.
>
>Still cannot get IRTEST to communicate across two devices (Today's test was
>on T/E's) with or without the NSBruntimeARM68K.
>
>But did get raw IR to work after commenting out all the serialset's and
>changing the serialopen to ==> serialopen(1769104237, 9600). Since I only
>need the IRComm I'm good.
>
>Is there something unique with the Tungsten E's that would make IRTEST not
>work??
>
>Note: Clean install of NSBasic 4.4.1 on two other PC's with the same results
>of IRTEST not working on T/E's.
>
>- Keith
>
>> -----Original Message-----
>> From: George Henne [mailto:gh@nsbasic.com]
>> Sent: Tuesday, October 26, 2004 10:07 AM
>> To: nsbasic-palm
>> Subject: Re: [nsbasic-palm] IR SerialSet error 770
>>
>>
>>
>> Hi Keith, hope you're doing well!
>>
>>
>> Descriptions for serial error codes are listed under the SerialOpen
>> function. 770 means Bad Port.
>>
>> I can't think of a reason for all these devices to have this message (but
>> it might be brain fade). Is SIR the protocol you want? I think IRComm is
>> better in many cases.
>>
>> <http://www.nsbasic.com/palm/info/technotes/TN16.htm>
>>
>> >
>> >
>> >Trying to do some IR Serial and getting error 770 for SerialSet
>> >("IR",1).
>> >
>> >Code:
>> >    Global gintErr as Integer
>> >    gintErr = SerialOpen(32769,9600)
>> >    If gintErr > 0 Then MsgBox "startup error " + str(ginterr)
>> >
>> >    Dim res as Integer
>> >    Dim buffer as String
>> >    buffer="This is a message from the Palm OS device."
>> >    res = SerialSet("IR",1)
>> >    If res<>0 Then MsgBox "Error = SerialSet(IR,1) " + str(res)
>> >    res=serialSend(buffer, len(buffer))
>> >    If res<>0 Then MsgBox "Error = serialSend(buffer, len(buffer)) "
>> >    + str(res)
>> >
>> >Also tried, with same result:
>> >    gintErr = SerialOpen(0,9600)
>> >
>> >Samples: IRTest.prj and SerTester.prj giving same error
>> >
>> >Tested on, all with same error message:
>> >Treo 300,
>> >Zire 31,72,
>> >Tungsten E,C,5
>> >
>> >Suggestions??
>> >
>> >Special thanks to the power NSBasicers: John, Doug, Mike, etc, etc.
>> >
>> >HI GEORGE!!
>> >
>> >-Keith
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >Complete Searchable Archive:
>> > http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2
>> >
>> >Shortcut URL to this page:
>> > http://groups.yahoo.com/group/nsbasic-palm
>> >Yahoo! Groups Links
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>
>>
>> Complete Searchable Archive:
>>  http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2
>>
>> Shortcut URL to this page:
>>  http://groups.yahoo.com/group/nsbasic-palm
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>Complete Searchable Archive:
> http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2
>
>Shortcut URL to this page:
> http://groups.yahoo.com/group/nsbasic-palm  
>Yahoo! Groups Links
>
>
>
> 
>
>





Complete Searchable Archive:
 http://marc.theaimsgroup.com/?l=nsbasic-palm&r=1&w=2

Shortcut URL to this page:
 http://groups.yahoo.com/group/nsbasic-palm  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/nsbasic-palm/

<*> To unsubscribe from this group, send an email to:
    nsbasic-palm-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic