EmbeddedRelated.com
Forums

RFC: Android Protocol Stack

Started by linnix April 25, 2011
On May 3, 9:22=A0pm, George Neuner <gneun...@comcast.net> wrote:
> On Tue, 3 May 2011 03:24:46 -0700 (PDT), linnix > > <m...@linnix.info-for.us> wrote: > >On May 2, 4:50=A0am, UpYerNose <UpYerN...@witarubbahose.org> wrote: > > >> =A0 Silly rabbit. =A0Tricks are for kids. > > >Don't really understand your response. > > It's a misspelled reference to a line of cereal commercials:http://www.yo=
utube.com/watch?v=3DqXa0ukxnKhU
>
Still not sure if he is responding to my Request For Comment or just off-topic remark. Anyway, i need meaningful comments before facing the firing squad (design review): No problem with coding style requests, but substances... (Style over Substances). Initial requirement is just to read image files off the Android: Progress: Basic ADB/PXP working over USB. Basic RUMBA female socket installed on Android. Will post files to linnix project under code.google.com ---------------------------------------------------------------------------= ------------- This is a microcontroller stack for droid. Hardware: Master (male): PIC24F256 Slaves (females): LG VS740 with Android 2.2 Software: Mplab C30 IDE Android Native Development Kit Protocols: RUMBA: End Point pipes. FAT: file system. MSB: Mass Storage Device. PXP: Point multipleXer Point. ADB: Android Debug Bridge USB: Universal Serial Bus Files: yadm.c: Yet Another Driver Maker Driver Maker for the two devices: PXP is very simliar to MSD. However, the current PXP implementation is incomplete, since it's using polling rather than interrupt. dev.c: Yet Another Driver Maker template Template files for both drivers. msd.c: yadm msd Output of MSD maker pxp.c: yadm pxp Output of PXP maker dcb.c: Device Control Block for MSD and PXP To be determined fat.c: FAT file system Module for handling FAT file system. usb.c: End Point server on master Master USB host driver female.c: End Point socket on slave End Point female socket on Android. Compiled on PC with NDK. ADB push to: "/data/local/inc/rumba.h" "/data/local/src/female.c" "/data/local/bin/female" rumba.h: RUMBA definitions Rumba is not Samba. Directories: Most Rumba calls are straight forward, with the exception of CMD_DIR. Initial call from male to female lists path with sequence of 0. Subsequent calls with unique sequence returns ordered files in path.