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

List:       nsbasic-palm
Subject:    Re: [nsbasic-palm] Re: IR speed changes
From:       "George Henne" <gh () nsbasic ! com>
Date:       2005-09-30 14:04:19
Message-ID: 20050930140419.32635 () nsbasic ! com
[Download RAW message or body]

I think the ability to do this depends more on the device than on NS
Basic itself. How IR works is implemented differently on different
models, even from the same manufacturer. You'll have to test each case
to see what you can get away with.

>--- In nsbasic-palm@yahoogroups.com, Don Pomplun <BlueFlash@c...> 
>wrote:
>> This speed changing part sounds like part of the IRDA protocol, 
>rather than 
>> just sending ascii via the serial IR port.
>> Are you trying to do fancy IRDA, or just simple serial IR?
>> 
>
>Just SIR; some ASCII, some binary as byte array with checksum.  
>
>A week's summary data is about 3K (not too bad at 9600), but there 
>could be multiple weeks of data to download.  The IR port on the sign 
>is 7 feet above the ground - the user is holding the PDA higher than 
>his/her head to collect the data.  Data transfer speed quickly 
>becomes important ;-)
>
>There's a version of the code that's dated June 2005 that did compile 
>under some version of NSB and did handle the speed change after 
>connection on at least two devices - an IIIxe and a Clie (don't have 
>the model).
>
>I guess the data collection piece could be compiled as a FatApp under 
>NSB v3 and the display piece compiled as a FatApp under NSB v5 (to 
>get the bells and whistles v5 offers)...
>
>John
>
>> 
>> At 11:47 PM 9/29/2005 +0000, you wrote:
>> >I've inherited a project that uses IR to communicate with a
>> >microprocessor-based traffic sign.
>> >
>> >Apparently some combination of device (IIIxe, some Clie model) and
>> >NSBasic version (3? 4?) supported changing the IR speed while the
>> >connection was active.
>> >
>> >The sequence:
>> >initiate communication at 9600
>> >send "speed up" request to sign
>> >get OK response
>> >use serialset("Baudrate", 57600)
>> >continue communication at 57600
>> >
>> >This is not working on the IIIxe I'm using for testing (compiling 
>the
>> >original code with NSB 5.0.4).
>> >
>> >Anyone have experience with changing the IR speed while the
>> >connection is still open?
>> >
>> >Does the full range of serialset() need to be reissued (stopbits,
>> >etc)?
>> >
>> >We're in the last 5% of the updates for this project and everything
>> >else is working.
>> >
>> >John
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >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