[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] bnep bit order



Hello,

We should use the MSB bit, have a look in the BNEP-specification.

Best Regards
Anders Johansson

> -----Original Message-----
> From: C Bruns [mailto:cb1955@xxxxxxx.uk]
> Sent: Monday, June 10, 2002 11:57 AM
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] bnep bit order
> 
> 
> Hello everybody, 
> 
> I'm working on a bnep implementation and use your current CVS bnep 
> files to check/compare some details.
> 
> When I checked the way you get the bnep type and the extension header 
> bit from a received bnep packet I was a little bit surprised 
> because I 
> think you use the MSB for your e-header. 
>  
> eheaders = ((data[0] & 0x80) >> 7);
> 
> So far I thought that we have to use the LSB for this.
> 
> Cheers,
> Christian  
> 
> ---------------------- 
> cb1955@xxxxxxx.uk
> 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com