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.
27 lines
544 B
27 lines
544 B
// |
|
// ECellBLEDataParse.h |
|
// ECellBluetooth |
|
// |
|
// Created by lemo. on 2019/5/25. |
|
// Copyright © 2019 chentingfeng. All rights reserved. |
|
// |
|
|
|
#import <Foundation/Foundation.h> |
|
#import <UIKit/UIKit.h> |
|
#import <ECellBluetooth/ECellBluetoothManager.h> |
|
|
|
NS_ASSUME_NONNULL_BEGIN |
|
|
|
@interface ECellBLEDataParse : NSObject |
|
|
|
/// 数据解析 |
|
/// @param data 完整数据 |
|
/// @param cmd 指令码KEY |
|
+ (NSDictionary *)parse:(NSMutableData *)data cmd:(ECell_BLECMD_KEY)cmd; |
|
|
|
|
|
+ (NSDictionary *)parse:(NSMutableData *)data; |
|
|
|
@end |
|
|
|
NS_ASSUME_NONNULL_END
|
|
|