BLE demo for mbed Ported RunningElectronics's SBDBT firmware for BLE. It can communicate with iOS

Dependencies:   FatFileSystem mbed

Fork of BTstack by Norimasa Okamoto

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers usb_itd.h Source File

usb_itd.h

00001 #ifndef USB_ITD_H
00002 #define USB_ITD_H
00003 #include "UsbInc.h"
00004 #include "usb_mem.h"
00005 
00006 class usb_itd {
00007 public:
00008     usb_itd(HCITD* itd);
00009     bool Done();
00010     int ConditionCode();
00011     int FrameCount();
00012     int PacketStatus(int n);
00013     int Length(int n);
00014     uint8_t* BufferPage(int n, int size);
00015     uint16_t StartingFrame();
00016     void free();
00017     void debug();
00018 private:
00019     uint16_t get_psw(int n);
00020     HCITD* m_itd;
00021 };
00022 
00023 #endif //USB_ITD_H