Private
Public Access
1
0

Adds "status" operation

This commit is contained in:
James Magahern
2022-08-03 17:28:23 -07:00
parent 3ca9abcccd
commit e5b78d62f0
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
//
// MBIMStatusOperation.h
// kordophoned
//
// Created by James Magahern on 8/3/22.
// Copyright © 2022 James Magahern. All rights reserved.
//
#import "MBIMBridgeOperation.h"
NS_ASSUME_NONNULL_BEGIN
@interface MBIMStatusOperation : MBIMBridgeOperation
@end
NS_ASSUME_NONNULL_END

View File

@@ -0,0 +1,25 @@
//
// MBIMStatusOperation.m
// kordophoned
//
// Created by James Magahern on 8/3/22.
// Copyright © 2022 James Magahern. All rights reserved.
//
#import "MBIMStatusOperation.h"
@implementation MBIMStatusOperation
+ (void)load { [super load]; }
+ (NSString *)endpointName
{
return @"status";
}
- (void)main
{
self.serverCompletionBlock([[MBIMDataResponse alloc] initWithData:[@"OK" dataUsingEncoding:NSUTF8StringEncoding]]);
}
@end