Discussion Forums

Presence Map
Hei Chan / N/A
11 Jan 2010 5:19AM ET

Hi,

I am trying to understand the presence map better.

When I connect to my provider, the first byte I received is 0xC0, which is the presence map.

The first bit after the stop bit is 1 (0xC0=11000000), indicating the template ID exists.

And it does exist right after this byte (presence map).

My question is -- does 0xC0 here indicate that none of the fields in that specific template exists (since the remaining bits are zeros in the presence map)?

However, the template has only 2 fields and 1 of them is mandatory:
    <string name="Sender" id="10000"></string>
    <string name="VendorID" presence="optional" id="10001"></string>

Am I missing something?

Thanks in advance!


Presence Map
Hei Chan / N/A   11 Jan 2010 5:19AM ET
Re: Presence Map
Rolf Andersson / Pantor Engineering   11 Jan 2010 5:45AM ET
Re: Presence Map
Dale Wilson / Object Computing, Inc   11 Jan 2010 11:48AM ET
Re: Presence Map
Hei Chan / N/A   12 Jan 2010 4:30PM ET