
BTstack for EA LPC4088 QSB example program
Dependencies: LPC4088-USBHost mbed
Fork of KL46Z-BTstack_example by
The usage is the same as KL46Z-BTstack_example.
使い方はKL46Z-BTstack_exampleと同じです。
usbbt/bd_addr.h@0:1ed23ab1345f, 2012-06-26 (annotated)
- Committer:
- va009039
- Date:
- Tue Jun 26 14:27:45 2012 +0000
- Revision:
- 0:1ed23ab1345f
fix overflow spp_service_buffer
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 |