Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
hcimanager.cpp File Reference

(4157fc80e498a0a534728f711d908af96b5a39ba)

#include "hcimanager_p.h"
#include "qbluetoothsocketbase_p.h"
#include "qlowenergyconnectionparameters.h"
#include <QtCore/qloggingcategory.h>
#include <cstring>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/uio.h>
#include <unistd.h>
#include "moc_hcimanager_p.cpp"
+ Include dependency graph for hcimanager.cpp:

Go to the source code of this file.

Classes

struct  ConnectionUpdateData
 

Functions

quint16 forceIntervalIntoRange (double connectionInterval)
 
ConnectionUpdateData connectionUpdateData (const QLowEnergyConnectionParameters &params)
 

Function Documentation

◆ connectionUpdateData()

ConnectionUpdateData connectionUpdateData ( const QLowEnergyConnectionParameters & params)

Definition at line 306 of file hcimanager.cpp.

References forceIntervalIntoRange(), maxInterval, minInterval, and qToLittleEndian().

Referenced by HciManager::sendConnectionParameterUpdateRequest(), and HciManager::sendConnectionUpdateCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ forceIntervalIntoRange()

quint16 forceIntervalIntoRange ( double connectionInterval)

Definition at line 295 of file hcimanager.cpp.

Referenced by connectionUpdateData().

+ Here is the caller graph for this function: