Where can I find the BMHOSTPROTOCOL.H header file?

The ‘C’ header files can be found in the download sections on the Bluetooth support pages for the relevant products at the following link:

https://laird-ews-support.desk.com/?b_id=1909

The following downloads are available:

MultipointHostSourceLibrary_BTM44x

MultipointHostSourceLibrary_BTM73x

MultipointHostSourceLibrary_BTM4x

MultipointHostSourceLibrary_BISMII ( for the TRBLU23-00200, TRBLU23-00300, BISMS02BI, BISMS02BI-NA, BTM430, BTM431)

The following files are included in the zip files:

BmHostProtocol.h

MpHost.cpp

MpHost.h

MpStatus.h

The source file "MpHost.Cpp" does not use any C++ features other than // comments.

Very little (or even no) changes will be required to get it to compile using a C compiler. All you need to do is change the extension to .C

If your compiler does not pack a struct, then in the file “BmHostProtocol.h” change the code appropriately

#if 1

#define ATTRPACKED //

#else

#define ATTRPACKED __attribute ((packed))

#endif

Categories