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

Committer:
todotani
Date:
Wed Feb 20 14:18:38 2013 +0000
Revision:
6:cf06ba884429
Parent:
0:1ed23ab1345f
Change tick timer to 1ms. Change attribute 0xFFF1 as read of DigitalIn p5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 0:1ed23ab1345f 1 #ifndef USB_ITD_H
va009039 0:1ed23ab1345f 2 #define USB_ITD_H
va009039 0:1ed23ab1345f 3 #include "UsbInc.h"
va009039 0:1ed23ab1345f 4 #include "usb_mem.h"
va009039 0:1ed23ab1345f 5
va009039 0:1ed23ab1345f 6 class usb_itd {
va009039 0:1ed23ab1345f 7 public:
va009039 0:1ed23ab1345f 8 usb_itd(HCITD* itd);
va009039 0:1ed23ab1345f 9 bool Done();
va009039 0:1ed23ab1345f 10 int ConditionCode();
va009039 0:1ed23ab1345f 11 int FrameCount();
va009039 0:1ed23ab1345f 12 int PacketStatus(int n);
va009039 0:1ed23ab1345f 13 int Length(int n);
va009039 0:1ed23ab1345f 14 uint8_t* BufferPage(int n, int size);
va009039 0:1ed23ab1345f 15 uint16_t StartingFrame();
va009039 0:1ed23ab1345f 16 void free();
va009039 0:1ed23ab1345f 17 void debug();
va009039 0:1ed23ab1345f 18 private:
va009039 0:1ed23ab1345f 19 uint16_t get_psw(int n);
va009039 0:1ed23ab1345f 20 HCITD* m_itd;
va009039 0:1ed23ab1345f 21 };
va009039 0:1ed23ab1345f 22
va009039 0:1ed23ab1345f 23 #endif //USB_ITD_H