You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.2 KiB

2 years ago
//
// BluetoothDataSource.h
// BluetoothDemo
//
// Created by mac on 17/3/13.
// Copyright © 2017年 . All rights reserved.
//
#import <Foundation/Foundation.h>
#import "BlueToothEume.h"
@class Bluetooth;
@protocol BluetoothDataSource <NSObject>
/**
@param manager
@param sid
@param data
@param cmdId
*/
- (void)bluetoothManager:(Bluetooth *)manager
sequenceID:(NSInteger)sid
didCompleteWithData:(id)data
cmdId:(BleCMD)cmdId;
/**
@param manager
@param sid
@param data
@param cmdId
*/
- (void)bluetoothManager:(Bluetooth *)manager
sequenceID:(NSInteger)sid
didErrorWithData:(id)data
cmdId:(BleCMD)cmdId;
/**
@param manager
@param sid
@param data
@param cmdId
*/
- (void)bluetoothManager:(Bluetooth *)manager
sequenceID:(NSInteger)sid
didTimeOutWithData:(id)data
cmdId:(BleCMD)cmdId;
@end