local fix version of myBlueUSB (http://mbed.org/users/networker/code/myBlueUSB/). - merge deleted files which are required to compile. - enable echo back of received data via RFCOMM.
Dependencies: AvailableMemory FatFileSystem mbed myUSBHost
FATFileSystem/FATDirHandle.h@2:9f25a7fa1a54, 2013-12-08 (annotated)
- Committer:
- nobukuma
- Date:
- Sun Dec 08 21:52:09 2013 +0000
- Revision:
- 2:9f25a7fa1a54
- Parent:
- 0:003889bc474f
???BT??????????????????; ?????????????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nobukuma | 0:003889bc474f | 1 | /* Copyright 2008 ARM Limited. All rights reserved. */ |
nobukuma | 0:003889bc474f | 2 | |
nobukuma | 0:003889bc474f | 3 | #ifndef MBED_FATDIRHANDLE_H |
nobukuma | 0:003889bc474f | 4 | #define MBED_FATDIRHANDLE_H |
nobukuma | 0:003889bc474f | 5 | |
nobukuma | 0:003889bc474f | 6 | #include "DirHandle.h" |
nobukuma | 0:003889bc474f | 7 | #include "ff.h" |
nobukuma | 0:003889bc474f | 8 | |
nobukuma | 0:003889bc474f | 9 | namespace mbed { |
nobukuma | 0:003889bc474f | 10 | |
nobukuma | 0:003889bc474f | 11 | class FATDirHandle : public DirHandle { |
nobukuma | 0:003889bc474f | 12 | |
nobukuma | 0:003889bc474f | 13 | public: |
nobukuma | 0:003889bc474f | 14 | FATDirHandle(const FATFS_DIR &the_dir); |
nobukuma | 0:003889bc474f | 15 | virtual int closedir(); |
nobukuma | 0:003889bc474f | 16 | virtual struct dirent *readdir(); |
nobukuma | 0:003889bc474f | 17 | virtual void rewinddir(); |
nobukuma | 0:003889bc474f | 18 | virtual off_t telldir(); |
nobukuma | 0:003889bc474f | 19 | virtual void seekdir(off_t location); |
nobukuma | 0:003889bc474f | 20 | |
nobukuma | 0:003889bc474f | 21 | private: |
nobukuma | 0:003889bc474f | 22 | FATFS_DIR dir; |
nobukuma | 0:003889bc474f | 23 | struct dirent cur_entry; |
nobukuma | 0:003889bc474f | 24 | |
nobukuma | 0:003889bc474f | 25 | }; |
nobukuma | 0:003889bc474f | 26 | |
nobukuma | 0:003889bc474f | 27 | } |
nobukuma | 0:003889bc474f | 28 | |
nobukuma | 0:003889bc474f | 29 | #endif |