LIBKYBLUETOOTH(3) Library Functions Manual LIBKYBLUETOOTH(3)

kdk_bluetooth_get_device_id, kdk_bluetooth_get_manufacturer, kdk_bluetooth_get_dev_version, kdk_bluetooth_get_name, kdk_bluetooth_get_address, kdk_bluetooth_get_link_mode, kdk_bluetooth_get_link_policy, kdk_bluetooth_get_bus, kdk_bluetooth_get_scomtu, kdk_bluetooth_get_alcmtu, kdk_bluetooth_get_packettype, kdk_bluetooth_get_features - 获取蓝牙信息

#include <libkybluetooth.h>

extern int** kdk_bluetooth_get_device_id();

extern char* kdk_bluetooth_get_manufacturer(int num);

extern char* kdk_bluetooth_get_dev_version(int num);

extern char* kdk_bluetooth_get_name(int id);

extern char* kdk_bluetooth_get_address(int id);

extern char* kdk_bluetooth_get_link_mode(int id);

extern char* kdk_bluetooth_get_link_policy(int id);

extern char* kdk_bluetooth_get_bus(int id);

extern char* kdk_bluetooth_get_scomtu(int id);

extern char* kdk_bluetooth_get_alcmtu(int id);

extern char* kdk_bluetooth_get_packettype(int id);

extern char* kdk_bluetooth_get_features(int id);

Link with -lkybluetooth.

This library contains bluetooth information.

The return value is generally specific to the individual function called.

These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: kdk_bluetooth_get_device_id(), kdk_bluetooth_get_manufacturer(), kdk_bluetooth_get_dev_version(), kdk_bluetooth_get_name(), kdk_bluetooth_get_address(), kdk_bluetooth_get_link_mode(), kdk_bluetooth_get_link_policy(), kdk_bluetooth_get_bus(), kdk_bluetooth_get_scomtu(), kdk_bluetooth_get_alcmtu(), kdk_bluetooth_get_packettype() and kdk_bluetooth_get_features().

kdk_bluetooth_get_device_id(3), kdk_bluetooth_get_manufacturer(3), kdk_bluetooth_get_dev_version(3), kdk_bluetooth_get_name(3), kdk_bluetooth_get_address(3), kdk_bluetooth_get_link_mode(3), kdk_bluetooth_get_link_policy(3), kdk_bluetooth_get_bus(3), kdk_bluetooth_get_scomtu(3), kdk_bluetooth_get_alcmtu(3), kdk_bluetooth_get_packettype(3) and kdk_bluetooth_get_features(3).

Fri Aug 25 2023 Linux Programmer's Manual