14#import <Foundation/Foundation.h>
15#import <UniPRT/JsonComm.h>
16#import <UniPRT/JsonMng.h>
17#import <UniPRT/TcpComm.h>
18#import <UniPRT/JsonCommController.h>
19#import <UniPRT/BtComm.h>
20#import <UniPRT/BleComm.h>
53 JsonComm *_MgmtCommPtr;
54 ImpChannel *_MsgsFromPtr;
59 NSString *_managedDescriptor;
111- (instancetype)initWithCommToPtr:(
AComm *)commToPtr iCommTyp:(CommType)iCommTyp maxInputMsgCapacity:(
int)maxInputMsgCapacity usingDataPort:(BOOL)usingDataPort;
150- (NSString *)sendMsgWithCommand:(NSString *)command content:(NSString *)content trackNo:(NSString *)trackNo;
189- (
JsonMng *)sendMsgAndWaitForResponseWithCommand:(NSString *)command content:(NSString *)content maxWaitTimeSecs:(
int)maxWaitTimeSecs;
237- (void)sendMsgRawWithDataToSend:(NSString *)dataToSend;
A base class for communication interfaces, conforming to the IComm protocol.
Definition AComm.h:29
A communication class for handling Bluetooth Low Energy (BLE) connections.
Definition BleComm.h:34
A class for Bluetooth communication, inheriting from AComm.
Definition BtComm.h:32
A class for managing JSON-based messaging.
Definition JsonMessenger.h:45
JsonMng * readNextMsg()
Read next message that may have been received asynchronously from printer.
void dispose()
Disposes the object, releasing any resources.
A class for managing JSON messages.
Definition JsonMng.h:31
A class for TCP communication, inheriting from AComm and conforming to the NSStreamDelegate protocol.
Definition TcpComm.h:101