SMBluetoothDevice Class Reference

Inherits from NSObject
Declared in SMBluetoothDevice.h
SMBluetoothDevice.m

Overview

Bluetooth device

  name

Broadcast Name of the device

@property (nonatomic, strong) NSString *name

Discussion

Broadcast Name of the device

Declared In

SMBluetoothDevice.h

  UUID

UUID of the device

@property (nonatomic, strong) NSString *UUID

Discussion

UUID of the device

Declared In

SMBluetoothDevice.h

  RSSI

RSSI of the device

@property (nonatomic, strong) NSNumber *RSSI

Discussion

RSSI of the device

Declared In

SMBluetoothDevice.h

– initWithName:UUID:RSSI:

Initialises a bluetooth device data structure

- (id)initWithName:(NSString *)name UUID:(NSString *)UUID RSSI:(NSNumber *)RSSI

Parameters

name

Name

UUID

UUID

RSSI

RSSI

Return Value

Instance

Discussion

Initialises a bluetooth device data structure

Declared In

SMBluetoothDevice.h

– serialise

Serialises the structure into JSON format

- (id)serialise

Return Value

JSON object

Discussion

Serialises the structure into JSON format

Declared In

SMBluetoothDevice.h