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

Developer

API Reference

BTLOCALSETTINGS

Brew Release
Brew MP 1.0.2
See Also
None
Description
This data type defines the local device settings.
Members
  • sCoD                 : class of device
  • dSecLevel            : overall security level
  • bRoleSwitchAllowed   : should incoming role switch request be allowed?
  • bPrefMasterRole      : prefers to switch to master role in connections
                                initiated by remote device?
  • dPgScanParam         : page scan perfomance parameter
  • dInqScanParam        : inquiry scan performance parameter
  • u8Name               : Bluetooth name of local device
  • nNameLen             : length of local name
Definition
  •    typedef struct 
       {
          BTClassOfDevice      sCoD;
          BTSecurityLevel      dSecLevel;
          boolean              bRoleSwitchAllowed;
          boolean              bPrefMasterRole;
          BTActVsPwr           dPgScanParam;
          BTActVsPwr           dInqScanParam;
          uint8                u8Name[ AEEBT_MAX_LEN_DEVICE_NAME ];
          int                  nNameLen;
       
       }  BTLocalSettings;
    
Comments
None