13 @interface CommPortWifi : CommPort
23 NSInputStream *iStream;
24 NSOutputStream *oStream;
26 CFReadStreamRef readStream;
27 CFWriteStreamRef writeStream;
33 -(NSArray *) EnumWifiDevices:(NSInteger)searchTimeout :(NSError**)error;
34 - (int) WIFIConnect:(NSString*)printerIpAddr :(NSInteger)printerIpPort :(NSError**)error;
35 -(Boolean) OpenSocketSuccesfully;
37 - (void) ETHConnect:(NSString*)printerIpAddr :(NSInteger)printerIpPort :(NSError**)error;
38 - (void) ETHDisconnect:(NSError**)error;
39 - (void) ETHWrite:(NSData *)data :(NSError**)error;
40 - (void) ETHWrite:(const uint8_t *)buf :(
int)length :(NSError**)error;
41 - (NSData *) ETHRead:(NSInteger)rxBufferSize :(NSError**)error;