From: Random P. <net...@gm...> - 2011-04-13 16:49:26
|
I have been looking at the low level driver info and from what I can tell 2B 0B 03 01 79 50 77 00 77 54 00 01 00 +...yPw.wT... Is DGT_CMD_CLOCK_DISPLAY the way I think it's broken down is 2B = DGT_CLOCK_MESSAGE 0B = Length 03 = DGT_CLOCK_START_MESSAGE 01 = DGT_CMD_CLOCK_DISPLAY This is what a SetNRun Command data looks like I think 2B 09 03 0A 01 02 03 04 05 06 01 +.......... Here is another Message example 2B 0B 03 01 49 49 49 49 49 49 00 01 00 +...IIIIII... this is using the demoapp.exe to send a message to COM1 I thank you for all the help you are giving me, it is making a great difference. As for the simulator being public, if it's okay with DGT I have no problem sharing it tho it will need some cleaning up. On Tue, Apr 12, 2011 at 6:13 AM, Jan Krabbenbos <ja...@dg...> wrote: > The message you get is a SetNRun command for the clock. For displaying it > on your simulator you have to reverse the encoding as is done, have a look > at the dgtcmdclock*.h files in the example driver from our website. > > > > If the DGT XL is set in mode 23 it will show all the clock type messages > sent from the computer to the board. If the clock is switched to another > mode, only reading of the times (e.g. by DGT_SEND_CLK) is possible. > Everything sent to the clock is lost. > > The DGT_SEND_UPDATE(_NICE) is requesting continuous updates from the board > to the computer. So if something changes, it is immediately send to the > computer (asynchronous sending of messages by the board). The NICE variation > results in less messages from the board. > > > > Will your simulator be available somewhere? > > > > With kind regards, > > Met vriendelijke groet, > > > > Jan Krabbenbos > > Software Development > > > > [image: DGT+TCI(200)] > > Phone: +31(0) 53-4305195 > > Fax: +31(0)53-4329365 > > http://www.dgtprojects.com > > > > visit address: Hengelosestraat 66, 7514 AJ Enscheded, The Netherlands > > mail address: PO Box 1295, 7500 BG Enschede, The Netherlands > > > > > > > > *From:* Random Persons [mailto:net...@gm...] > *Sent:* dinsdag 12 april 2011 12:28 > > *To:* Main discussion place for dgtnix relative topics > *Subject:* Re: [Dgtnix-devel] Data Capture > > > > Oh yes, I have also sent data for Clock Mode 23, also I seem to only get > DGT_SEND_UPDATE_NICE if I read the header file right I should be getting > DGT_SEND_UPDATE and DGT_SEND_UPDATE_BRD > > On Tue, Apr 12, 2011 at 5:20 AM, Random Persons <net...@gm...> > wrote: > > I did some more work today, was able to get the DGT Driver to notice my > clock version, I was getting a request for the version all I get now from > arena is the same message, no movement updates yet. Just guessing I am doing > something wrong. > > I get this message. > > 2B 0B 03 01 79 50 77 00 77 54 00 01 00 +...yPw.wT... > > The last thing I have left to do is get it to display the movements from > arena to my software. > > On Tue, Apr 12, 2011 at 2:27 AM, Jan Krabbenbos <ja...@dg...> > wrote: > > Interesting. I thought connection to an iPod, iPad or iPhone was not > possible due to hardware requirements. At least for the Bluetooth > connectable devices. > > > > What do you want to sent to the board? Normally the information sent to the > board is only shown on the DGT XL clock (in setting 23) and must be commands > for clock settings. > > > > > > With kind regards, > > Met vriendelijke groet, > > > > Jan Krabbenbos > > Software Development > > > > [image: DGT+TCI(200)] > > Phone: +31(0) 53-4305195 > > Fax: +31(0)53-4329365 > > http://www.dgtprojects.com > > > > visit address: Hengelosestraat 66, 7514 AJ Enscheded, The Netherlands > > mail address: PO Box 1295, 7500 BG Enschede, The Netherlands > > > > > > > > *From:* Random Persons [mailto:net...@gm...] > *Sent:* maandag 11 april 2011 23:04 > *To:* Main discussion place for dgtnix relative topics > *Subject:* Re: [Dgtnix-devel] Data Capture > > > > I am trying to add in support to a ipod app that will connect to the DGT e > board. I have started writing code to emulate the hardware responses from > the board. The system finds the board and clock allows me to add and moves > pieces but when ever a engine places a move the data of that move is never > sent to the board. I am not sure if this is due to not correctly > implementing everything or what. > > On Mon, Apr 11, 2011 at 7:19 AM, Jan Krabbenbos <ja...@dg...> > wrote: > > Hi Random, > > > > As far as I know the dgtnix driver does not yet implement the clock > control. But I have an implementation at the DGT website that implements the > single board protocol, including the clock messages but without any move > reconstruction. Have a look at > http://digitalgametechnology.com/site/index.php/Developers/View-category.html. > It is written in C++ and uses the Boost Asio library for the serial port > control. Documentation on the clock messages is however not yet complete. > > > > This code also runs on Mac OSX and Linux, but this still needs a little bit > of work. > > > > > > With kind regards, > > Met vriendelijke groet, > > > > Jan Krabbenbos > > Software Development > > > > [image: DGT+TCI(200)] > > Phone: +31(0) 53-4305195 > > Fax: +31(0)53-4329365 > > http://www.dgtprojects.com > > > > visit address: Hengelosestraat 66, 7514 AJ Enscheded, The Netherlands > > mail address: PO Box 1295, 7500 BG Enschede, The Netherlands > > > > > > > > > > *From:* Random Persons [mailto:net...@gm...] > *Sent:* maandag 11 april 2011 13:57 > *To:* dgt...@li... > *Subject:* [Dgtnix-devel] Data Capture > > > > I don't currently have access to a DGT eBoard, I am writing some software > for one right now tho. I can not get Arena 3.0 or any other software to send > data to the clock. I am using windows I know this a linux driver. I figured > this would be the best place to ask for a data capture of a DGT eBoard > connecting to a computer and playing a game. I am looking for the data sent > from the board and from the computer. If anyone can help me out let me know. > > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > Dgtnix-devel mailing list > Dgt...@li... > https://lists.sourceforge.net/lists/listinfo/dgtnix-devel > > > > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > _______________________________________________ > Dgtnix-devel mailing list > Dgt...@li... > https://lists.sourceforge.net/lists/listinfo/dgtnix-devel > > > > > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Dgtnix-devel mailing list > Dgt...@li... > https://lists.sourceforge.net/lists/listinfo/dgtnix-devel > > |