完善连接热点udp指令

This commit is contained in:
xuemh
2018-08-06 21:37:34 +08:00
parent cdd634df71
commit 4546e0b981
7 changed files with 62 additions and 8 deletions
@@ -0,0 +1,28 @@
//
// ConnectHotspotModel.m
// Ifish
//
// Created by Minghao Xue on 2018/8/6.
// Copyright © 2018年 lianlian. All rights reserved.
//
#import "ConnectHotspotModel.h"
@implementation ConnectHotspotModel
- (NSString *)description{
self.messagetype=@"00";
self.massagelegth=@"48";
self.functionCode=@"12";
self.sendmacId = @"000000000000";
self.resavemacId = @"000000000000";
return [NSString stringWithFormat:@"%@%@%@%@%@%@%@%@", self.messagetype,self.functionCode,self.sendmacId,self.resavemacId,self.massagelegth,[dataContorl hexStringFromString:self.ssidName], [dataContorl hexStringFromString:self.pwd],[self crcCode]];
}
- (NSString *)crcCode {
return @"0000";
}
@end