27 lines
688 B
Objective-C
27 lines
688 B
Objective-C
//
|
||
// IfishPackageHeaderVo.h
|
||
// Ifish
|
||
//
|
||
// Created by 罗艺 on 2018/9/23.
|
||
// Copyright © 2018年 lianlian. All rights reserved.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
@interface IfishPackageHeaderVo : NSObject
|
||
//数据包头(15字节)
|
||
//1 "发送消息类型填充00,回复类型填充01
|
||
//"
|
||
//1 功能码
|
||
//6 发送方MAC地址
|
||
//6 接收方MAC地址
|
||
//1 消息长度,包长度(15+*的长度)
|
||
@property(nonatomic,copy)NSString*msgType;
|
||
@property(nonatomic,copy)NSString*funcCode;
|
||
@property(nonatomic,copy)NSString*sendAdr;
|
||
@property(nonatomic,copy)NSString*reciceAdr;
|
||
@property(nonatomic,copy)NSString*lenth;
|
||
-(NSString*)getHeader;
|
||
-(NSString*)getPackege;
|
||
@end
|