![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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@3:7b7d1273e2d5, 2016-10-17 (annotated)
- Committer:
- tamaki
- Date:
- Mon Oct 17 00:25:18 2016 +0000
- Revision:
- 3:7b7d1273e2d5
- Parent:
- 0:1ed23ab1345f
mbed base bard check program
; for BlueTooth USB dongle module
; (3 switches, 6 leds, I2C LCD, A/D)
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 |