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

Developer

API Reference

BTCONNECTIONSTATUS

Brew Release
Brew MP 1.0.2
See Also
None
Description
This data type defines the status of the connection.
Members
  • bdAddr            : address of remote device
  • dConnMode         : active? sniff? park? hold?
  • dSecurity         : none? authenticated? authenticated & encrypted?
  • bLocalIsMaster    : local device is master of the connection?
  • bRoleSwitchAllowed: role switch request from remote device allowed?
  • bSCOPresent       : an audio connection is riding on this connection?
  • nRSSI             : the current receive signal strength indicator
  • dPendingOp        : pending operation, if any
Definition
  •    typedef struct
       {
          BDAddress            bdAddr;         // remote end of the connection
          BTConnectionMode     dConnMode;      // active or one of low power modes
          BTSecurityLevel      dSecurity;      // none, auth, auth & encrypt
          boolean              bLocalIsMaster; // what more can be said?
          boolean              bRoleSwitchAllowed;
          boolean              bSCOPresent;    // is audio conn riding on this conn?
          int8                 nRSSI;          // current RSSI level
          BTConnOperationType  dPendingOp;     // pending operation, if any
       }  BTConnectionStatus;
    
Comments
None