@@ -236,11 +236,11 @@ - (XP2PErrCode)startAppWith:(NSString *)pro_id dev_name:(NSString *)dev_name typ
236236 // setStunServerToXp2p("11.11.11.11", 111);
237237 // setLogEnable(false, false);
238238
239- NSString *nsstr_user_id = [self getAppUUID ];
240- setContentDetail ([self dicConvertString: @{@" good" :@" morning" , @" str_user_id" :nsstr_user_id }],
241- [self dicConvertString: @{@" better" : @" afternnn" }]);
242- [self stopReport ];
243- _reportTimer = [NSTimer scheduledTimerWithTimeInterval: 60 target: self selector: @selector (doTick ) userInfo: nil repeats: YES ];
239+ // NSString *nsstr_user_id = [self getAppUUID];
240+ // setContentDetail([self dicConvertString:@{@"good":@"morning", @"str_user_id":nsstr_user_id }],
241+ // [self dicConvertString:@{@"better": @"afternnn"}]);
242+ // [self stopReport];
243+ // _reportTimer = [NSTimer scheduledTimerWithTimeInterval:60 target:self selector:@selector(doTick) userInfo:nil repeats:YES];
244244
245245 NSString *fileName = @" stun.txt" ;
246246 NSArray *paths = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES );
@@ -600,7 +600,7 @@ - (NSString *)readKeychainValue:(NSString *)sKey
600600 return ret;
601601}
602602
603- - (void )doTick {
603+ - (void )doTick {/*
604604 data_report_t tmpcontent = getContentData();
605605 printf("wwwwww===%s\n",tmpcontent.report_buf);
606606 NSData *body = [NSData dataWithBytes:tmpcontent.report_buf length:tmpcontent.report_size];
@@ -618,7 +618,7 @@ - (void)doTick {
618618 NSLog(@"log event: %@",response);
619619 }
620620 }];
621- [task resume ];
621+ [task resume];*/
622622}
623623
624624+ (NSString *)getSDKVersion {
0 commit comments