piclist 2003\09\04\125821a >
Thread: IrDA message selection from a menu
www.piclist.com/techref/io/irs.htm?key=irda
flavicon
face BY : Doug Hewett email (remove spam text)



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

<581B2D4388B5D21197660008C79FE034022FA477@exmyford01.startrac.com>

See also: www.piclist.com/techref/io/irs.htm?key=irda
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) IrDA message selection from a menu

month overview.

new search...