??? 04/24/08 04:48 Read: times |
#153923 - What is it you are recommending, Erik? Responding to: ???'s previous message |
Erik Malund said:
with a mask of zero any unassigned sign should respond.
the mask mask out bits not to be checked, so mask = 0 means no ID bits to be checked. If you have worked througth the mask and match as described there will be no unassigned signs if you ever would get to a mask of zero. Thus, with correct code, there will never be a mask of zero. Actually, by the principle of "belt, suspenders and a piece of rope" it might be an idea to do a mask = 0 at the end just to get the piece of rope used too. Erik Erik, The way in which you've described your approach is not very clear from what little you've said. If you have 64 bits of address, then you have to search through a field of 2^64 (very many) or even 2^48 (still very many, though fewer) possible addresses. If you have no information about which addresses are used and which are not, which, so far, has been the case, unless some more information is necessary, then one has to poll 2^64 addresses in order to discern which ones are occupied and which are not. At the typical maximum of 8 kbps available with cheap RF links, or even the maximal 250 kbps offered under absolutely perfect conditions by, say, Zibgee hardware, that will still be in progress when the sun burns out, right? If you simply issue a mask address, i.e. a subset of the total address range, or anything else other than a single unique address from the available range, knowing nothing about who or what is out there on your frequency band, I don't think you're going to learn much. OTOH, if your slaves can transmit at will without a "stroke" to tell them when, and uniquely, there will be lots of unintelligible traffic, which won't help much. One has to know more about the protocol. You haven't shared much. Nobody else has attempted to explain your approach, since they apparently don't recognize it either. What intelligence do you obtain from a no-response result? How is the "mask" to be interpreted? What sort of price range does your RF link that accommodates a ~450 kbps data rate fit? Is it in the >$5 range that the "low-cost" devices cost? RE |