[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: wild carding the instance problem
- Subject: Re: wild carding the instance problem
- From: Frank Mc Alinden
- Date: Mon, 29 Dec 2003 01:43:00 +0000
Hi Ian
> Well, the maximum size of the instance is 16 characters, so 17
including
> an end terminator of some kind. I don't see any issue with handling
this
> internally as a fixed chunk of seventeen bytes.
Your correct.....Just Frank looking for an easy out........
> I'm thinking through the implications, and tbh, if you are really
short
> for memory, and need to restrict the instance for your device to only,
> say, 8 characters... I don't think that will break anything..
Plenty of program memory...but after spending 3 days fixing bugs and
starting to get somewhere with the Reconfiguration the thought of having to
add more code wasnt very appealing......Has anyone done any config stuff
using PBP or Proton+ ??? ......also writing to the program memory i find a
little scary.... wouldnt want a power failure when this is happening.......
> Tony? John? Does this approach present any problems for the OCX or DLL
> respectively?
Dont worry will leave provision for 16 bytes in my tables for the
instance.........
Thanks
Frank
----- Original Message -----
From: "Ian Lowe" <<a
href="/group/ukha_xpl/post?postID=941JcvTW3ArNqTboChP8rBnXsoclnHCfglfPtyxK00VDAomKc-hrNRm-cD5HcbzlEqcNZp4j7e5QCZMDPA">ian@w...</a>>
To: <<a
href="/group/ukha_xpl/post?postID=eRHYEoogVrG_mVTkiDE52iaFMxvwNZDtDsBUq-m7dNNEg8sceTpDvVHRFh9tvmXVOKyPqtPwBmkpw6gMw4pH9A">ukha_xpl@xxxxxxx</a>>
Sent: Monday, December 29, 2003 8:21 AM
Subject: RE: [ukha_xpl] wild carding the instance problem
> >It was the broadcast message that i was using......
>
> Good, good ;)
>
> >Also do you see any problem if the instance is a fixed number of
> >characters??
>
> Well, the maximum size of the instance is 16 characters, so 17
including
> an end terminator of some kind. I don't see any issue with handling
this
> internally as a fixed chunk of seventeen bytes.
>
> I'm thinking through the implications, and tbh, if you are really
short
> for memory, and need to restrict the instance for your device to only,
> say, 8 characters... I don't think that will break anything..
>
> The main thing is to handle it gracefully: I wouldn't think it was
okay
> to ignore or drop a config message because the instance is longer than
> you can handle. If you receive a config message asking you to set the
> instance, and you truncate it, it's going to be fairly apparent to the
> user what happened.
>
> Tony? John? Does this approach present any problems for the OCX or DLL
> respectively?
>
> Ian.
>
>
> xPL Links: <a href="http://www.xplproject.org.uk">http://www.xplproject.org.uk</a>
<a href="http://www.xplhal.com">http://www.xplhal.com</a>
<a href="http://www.xpl.myby.co.uk">http://www.xpl.myby.co.uk</a>
> To Post a Message: <a
href="/group/ukha_xpl/post?postID=eRHYEoogVrG_mVTkiDE52iaFMxvwNZDtDsBUq-m7dNNEg8sceTpDvVHRFh9tvmXVOKyPqtPwBmkpw6gMw4pH9A">ukha_xpl@xxxxxxx</a>
> To Subscribe: <a
href="/group/ukha_xpl/post?postID=mMF7HrEH5jaXFkPVwKE1Pm3t3UKxN1APPJAO9qIskAElfSplMucL0huRA-1u63--jbiYDI8fFF2_PUbr2ScmfOfdJPNuVtMAgHWt4ik">ukha_xpl-subscribe@xxxxxxx</a>
> To Unsubscribe: <a
href="/group/ukha_xpl/post?postID=iRegVQhOYmAuwVsMsoq1N3MGEc5eH9uTy5S5ajapXHf1iu2zlvdQT91aeXPex6MXK7EYo2oLwG5pv4jD7qN7XgJt73G-qpptW3CJFw">ukha_xpl-unsubscribe@xxxxxxx</a>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> <a href="http://groups.yahoo.com/group/ukha_xpl/">http://groups.yahoo.com/group/ukha_xpl/</a>
>
> To unsubscribe from this group, send an email to:
> <a
href="/group/ukha_xpl/post?postID=iRegVQhOYmAuwVsMsoq1N3MGEc5eH9uTy5S5ajapXHf1iu2zlvdQT91aeXPex6MXK7EYo2oLwG5pv4jD7qN7XgJt73G-qpptW3CJFw">ukha_xpl-unsubscribe@xxxxxxx</a>
>
> Your use of Yahoo! Groups is subject to:
> <a href="http://docs.yahoo.com/info/terms/">http://docs.yahoo.com/info/terms/</a>
>
>
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|