From owner-freebsd-isdn@FreeBSD.ORG Thu Jun 12 22:29:44 2003 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D91937B401 for ; Thu, 12 Jun 2003 22:29:44 -0700 (PDT) Received: from hallie.shoalhaven.net.au (hallie.shoalhaven.net.au [202.139.20.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B1C543FCB for ; Thu, 12 Jun 2003 22:29:43 -0700 (PDT) (envelope-from jaster@shoalhaven.net.au) Received: from lan5.internal.lan (om11.shoalhaven.net.au [202.139.20.11]) h5D5Tewo065715 for ; Fri, 13 Jun 2003 15:29:41 +1000 (EST) From: Joshua Silver To: freebsd-isdn@freebsd.org Date: Fri, 13 Jun 2003 15:29:38 +1000 User-Agent: KMail/1.5.2 References: <200306111208.21922.jaster@shoalhaven.net.au> <20030611011745.A2302@tmp.com.br> <20030611151053.B20101@curly.tele2.no> In-Reply-To: <20030611151053.B20101@curly.tele2.no> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306131529.38864.jaster@shoalhaven.net.au> Subject: Re: 56k DoV X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jaster@shoalhaven.net.au List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 05:29:44 -0000 Thanks Guys, I've done a little more digging, and found your right, it's a little more complicated than I thought ... dang :( ... I'm running 4.8-STABLE, and when you say you need a data stream, is that something like the output from isdn_trace ? ... sorry, i'm still rather new to ISDN ... ;) Josh. On Wed, 11 Jun 2003 23:10, Hans Petter Selasky & wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hi, > > I wrote the HDLC encoder/decoder. Q.921's definition of HDLC is a serial > (1-bit) protocol, that transfers 8-bit units of data. I'd assume this is > the same for all transferrates. If I'm right, all you have to do, is to > move the bits around, so that the serial data stream is the same. Bits are > transmitted in the order bit[0] to bit[7] inclusively (64k). When using 56k > there are two logical choices of unused bits: Either bit[0] or bit[7] can > be set to either zero or one. According to the HFC-S manual, setting bit[0] > (LSB) to one is default when using 56k mode. > > To decide for sure what format your ISP is using, I'd need a data-stream > sample. What version of FreeBSD are you using? > > On Wed, Jun 11, 2003 at 01:17:45AM -0300, Sergio de Souza Prallon wrote: > > Hi, > > > > I wrote the driver for this card, but I never had any experience with DoV > > (it's not an issue in my country). AFAIK, involves "cheating" the bearer > > codes (which can be done - there is at least one patch from NetJet Inc > > for it) AND (in the 56K case) ignore the 7th bit of every byte sent or > > received does not exists while encoding or decoding the HDLC frames. > > Unfortunately, this is not handled by the HDLC encoder/decoder package I > > use. It may be possible to hack it, but I don't know for sure, the code > > is heavily optimized. I'd suggest you to contact Hans Petter Selasky, the > > original author of the encoder. > > > > Hope this helps. > > > > []'s > > > > -- > > Prallon > >