20 #import <Foundation/Foundation.h>
22 @class CBDeviceConnection;
24 @protocol CBDeviceDelegate;
27 @interface CBDevice : NSObject {
28 CBDeviceConnection *connection;
29 IONotificationPortRef notificationPort;
30 io_iterator_t deviceAddedIterator;
31 io_iterator_t deviceRemovedIterator;
32 NSTimer *autoConnectTimer;
36 @property (readonly, nonatomic) BOOL connected;
39 @property (assign, nonatomic) id <CBDeviceDelegate> delegate;
43 - (void)startAutoConnect;
44 - (void)stopAutoConnect;
49 - (void)updateRobot:(
CBRobot *)robot;