ContentsIndex
Bluetooth Low Energy Functions
Bluetooth Low Energy | Legend
Functions
Function 
Description 
Send connect remote device to GATT 
De-register confirm callback 
De-registers a previous request for notifications/indications. 
Send disconnect remote device to GATT 
Send a command to server to execute a prepared write operation. 
Enumerates characteristics for a given service. Set start_characteristic_uuid to NULL to get the first characteristic. 
Enumerates descriptors for a given characteristic. Set start_descriptor_id to NULL to get the first descriptor. 
Determines the type of the remote device (LE, BR/EDR, Dual-mode) 
Enumerates included services for a given parent service. Set start_include_service_id to NULL to get the first included service. The result is passed back from callback vm_bt_gatt_get_included_service_callback. After receiving the included service UUID, call vm_bt_gatt_client_get_included_service again and set include_svc_uuid to the service UUID to query the next included service in the parent service. 
Sends listen request to listen connect indicate during disconnected state 
Read characteristic value, can be larger than MTU. 
Read characteristic descriptor value. 
Requests the RSSI for a given remote device. The result is passed from vm_bt_gatt_read_remote_rssi_callback
Registers a GATT client application with the stack. The resulting client context is passed from vm_bt_gatt_register_client_callback
Register to listen the notification or indication of a certain characteristic from a connected server 
Starts or stops LE device scanning. 
Enumerates all GATT services on a connected device. Optionally, the results can be filtered for a given UUID. 
Write characteristic value, can be larger than MTU. 
Write characteristic descriptor value. 
Adds a characteristic to a service. 
Adds a descriptor to a given service. 
Assign an included service to it's parent service. To include multiple services to a parent service, call this function multiple times. 
Creates a new service. The result and corresponding service handle is passed to vm_bt_gatt_service_added_callback for each services created. Therefore, vm_bt_gatt_service_added_callback will be invoked 5 times if num_handles is set to 5. 
Connect Request 
Deletes a local service. 
De-register profile from GATT 
Disconnect request 
Send listen request to listen connect indicate during disconnect state. 
Queries tx power of local device. For Proximity profile. (Songmin Liao) 
Registers a GATT server application with the stack. 
Notify/Indicate data to Client 
Send response to client for write request 
Configures server advertisement behavior and packet data. 
Start service(add service to ATT database) 
Stops a local service. 
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 support@toolsfactory.com.