Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_bt_device_info Struct Reference

Represents a information about a remote device. More...

#include <sol-bluetooth.h>

Data Fields

struct sol_network_link_addr addr
 Network address of the remote device. More...
 
bool connected
 Whether the device is connected. More...
 
bool in_range
 Whether the devices is currently in range. More...
 
char * name
 Friendly name of the device. More...
 
bool paired
 Whether the device is paired. More...
 
int16_t rssi
 Received signal strength, measured in dBm. More...
 
struct sol_vector uuids
 Vector of service UUIDs discovered, may be empty. More...
 

Detailed Description

Represents a information about a remote device.

Examples:
/src/samples/bluetooth/browse.c, and /src/samples/bluetooth/connect-paired.c.

Field Documentation

struct sol_network_link_addr sol_bt_device_info::addr

Network address of the remote device.

Examples:
/src/samples/bluetooth/browse.c, and /src/samples/bluetooth/connect-paired.c.

Referenced by found_device().

bool sol_bt_device_info::connected

Whether the device is connected.

bool sol_bt_device_info::in_range

Whether the devices is currently in range.

Examples:
/src/samples/bluetooth/browse.c, and /src/samples/bluetooth/connect-paired.c.

Referenced by found_device().

char* sol_bt_device_info::name

Friendly name of the device.

bool sol_bt_device_info::paired

Whether the device is paired.

Examples:
/src/samples/bluetooth/connect-paired.c.

Referenced by found_device().

int16_t sol_bt_device_info::rssi

Received signal strength, measured in dBm.

struct sol_vector sol_bt_device_info::uuids

Vector of service UUIDs discovered, may be empty.


The documentation for this struct was generated from the following file: