API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTSPP_GETLASTERROR()

Brew Release
Brew MP 1.0.2
See Also
IBTSPP_Read() IBTSPP_Write()
Description
Inherited from IPORT_GetLastError(). This function returns the last error that occurred with Read() or Write().
Params
po
[in]:
the object
Interface
Prototype
  •    int IBTSPP_GetLastError(IBTSPP* po);
    
Return
  • The most recently occurred error. This could be any BREW error code. The most common ones are listed below.
    AEEPORT_ENOTOPEN : SPP port is not open EBADSTATE : SPP port is in an incompatible state
Side Effect
  • None
Comments
None