BITS type implementation

Frank Fock Frank.Fock____t-online.de
Mon May 21 23:47:49 CEST 2001


Hi Mauro,

No just set the bytes of the OctetStr as byte values each representing
8 bits. The values can be then set by any means supported by C/C++
like decimal, hex, octal, etc.

Regards,
Frank

Mauro Restante wrote:

> Hi Frank,
> thanks for your answer.
> You told me to set an the BITS type as an Octet-String.
> Does this mean that I must convert the bit, that I will set, in an Hex
> notation?
>
> thanks in advance
> Mauro
>
> -----Original Message-----
> From: Frank Fock [mailto:Frank.Fock____t-online.de]
> Sent: sabato 19 maggio 2001 0.03
> To: Mauro Restante
> Cc: Agent++ (E-mail); IETF (E-mail)
> Subject: Re: BITS type implamentation
>
> Mauro Restante wrote:
>
> >
> > I could assume to retrieve with the next get request ?
> >
>
> The last one set, because you will always have to set all
> bits. In order to toggle one bit you will have to (1) get
> the value of the object (2) toggle the bit and (3) set
> the whole OCTET STRING with a SET request.
>
> >
> > Is it correct that the agent return me only the last value set?
> >
>
> Yes.
>
> >
>
> Best regards,
> Frank




More information about the AGENTPP mailing list