Searching \ for '[AVR]: IrDA message selection from a menu' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/irs.htm?key=irda
Search entire site for: 'IrDA message selection from a menu'.

Exact match. Not showing close matches.
PICList Thread
'[AVR]: IrDA message selection from a menu'
2003\09\04@125821 by Doug Hewett

flavicon
face
Eventually the primary will be a Palm and the secondary an ATmega128.  9600 baud.

During development the primary will be a PC.  I would like a PC application where the user can select a message (e.g. XID) from a menu and send it.  (I think this step-wise approach may be simpler than the 'big bang'.)

Using Codewright in hex I simulated an XID message:

unsigned char   cFF3F[ ] =
   {
   0xFF, 0xC0,                 // typical XBOF, BOF
   0xFF, 0x3F, 0x01, 0x00,     // 00 - 03
   0x00, 0x00, 0x00, 0xFF,     // 04 - 07
   0xFF, 0xFF, 0xFF, 0x00,     // 08 - 11
   0x00, 0x00, 0x00, 0x00,     // 12 - 15
   0x00, 0x00, 0x00, 0x00,     // 16 - 19
   0x00, 0x00, 0x00, 0x00,     // 20 - 23
   0x00, 0x00, 0x00, 0x00,     // 24 - 27
   0x00, 0x00, 0x00, 0x00,     // 28 - 31
   0x00, 0x00, 0x00, 0x00,     // 32 - 35
   0x7E, 0xF8,                 // 36 - 37 XCRC
   0xC1, 0xFF                  // typical EOF, XBOF
   };


Then, running Hyperterminal, I sent this as a text (i.e. not XMODEM, etc.) file.  The application's state machine detects XBOFs, the BOF, the CRC, etc., and moves the data into the stack's buffer.

The next step is to replace the null modem cable with IR transceivers.  (The PC's transceiver is a dongle.)

However I need an application that allows me to select a message (e.g. XID)  from a menu and send it.

How can I do this?

Thanks,

Doug Hewett, CSDP

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

More... (looser matching)
- Last day of these posts
- In 2003 , 2004 only
- Today
- New search...