Functions | Serial Port Profile

The following table lists functions in this documentation.

A server uses this function in order to accept a connection when it is notified by the VM_BT_SPP_EVENT_AUTHORIZE event. 
Creates an SPP instance. 
This function destroys a SPP resource. 
Connects to a server. 
Disconnects an already opened SPP connection. 
Get the Bluetooth address with the connection ID. 
Gets the bt_spp minimum buffer, returns the minimum size for tx and rx buffer in vm_bt_spp_connect() It is recommended to malloc tx/rx buffer for SPP data transmission, the size is determined by the device. 
Opens bt_spp and returns the resource handle if it is successful. 
Read data over an established connection. 
The server uses this function to reject when it is notified by the VM_BT_SPP_EVENT_AUTHORIZE event. PARAMETERS. connection_id : Connection ID. 
Set the security level for the handle. 
Sets an SPP resource name. 
Writes data over an established connection. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at