mbed base bard check program for BlueTooth USB dongle module (3 switches, 6 leds, I2C LCD, A/D)
Fork of BTstack by
usbbt/bd_addr.h@1:b657594559be, 2013-03-21 (annotated)
- Committer:
- va009039
- Date:
- Thu Mar 21 13:53:05 2013 +0000
- Revision:
- 1:b657594559be
- Parent:
- 0:1ed23ab1345f
replaced USBHost
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:1ed23ab1345f | 1 | #ifndef BD_ADDR_H |
va009039 | 0:1ed23ab1345f | 2 | #define BD_ADDR_H |
va009039 | 0:1ed23ab1345f | 3 | class bd_addr { |
va009039 | 0:1ed23ab1345f | 4 | public: |
va009039 | 0:1ed23ab1345f | 5 | bd_addr(); |
va009039 | 0:1ed23ab1345f | 6 | bd_addr(char* s); |
va009039 | 0:1ed23ab1345f | 7 | uint8_t* data(uint8_t* addr = NULL); |
va009039 | 0:1ed23ab1345f | 8 | char* to_str(); |
va009039 | 0:1ed23ab1345f | 9 | private: |
va009039 | 0:1ed23ab1345f | 10 | char ad_str[18]; |
va009039 | 0:1ed23ab1345f | 11 | uint8_t ad[6]; |
va009039 | 0:1ed23ab1345f | 12 | }; |
va009039 | 0:1ed23ab1345f | 13 | #endif //BD_ADDR_H |