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

Developer

API Reference

IBTFTPSERVER_ENABLE()

Brew Release
Brew MP 1.0.2
See Also
IBTFTPServer_Disable()
Description
Enables an FTP server and allows for incoming connections from potential FTP clients. Per Bluetooth FTP specs, the FTP server must support at least read-only access.
Params
_me
[in]:
the object
cSec
[in]:
Service security level for FTPServer
pszName
[in]:
name of server to register with SDDB; empty string acceptable
piFileSys
[in]:
the file system object on which to operate
cOps
[in]:
bitmap of supported operations
Return
AEE_SUCCESS
[]:
The command has been scheduled, and ENABLED event will be generated at a later time.
AEE_EBADPARM
[]:
invalid input parameters
AEE_EALREADY
[]:
The FTP service is already enabled, and the implementation only supports one enabled object at a time.
Interface
Prototype
  •    AEEResult IBTFTPServer_Enable (IBTFTPServer* _me, 
                                      BTSecurityLevel cSec,
                                      const char* pszName,
                                      IFileSystem2* piFileSys, 
                                      AEEBTFTPOpBM cOps);
    
Side Effect
  • None
Comments
None