sphero-inc / Sphero-iOS-SDK

🚫 DEPRECATED: Sphero™ is the amazing robotic ball ( sphero.com ) created by Orbotix, this is the repository for the iOS SDK for Sphero™. Visit dev site for more information:
http://sdk.sphero.com
225 stars 81 forks source link

Fire a RKRobotChangedStateNotification when the sphero ball is put onto the charger. #25

Closed sodastsai closed 9 years ago

sodastsai commented 9 years ago

Currently there's no any events fired when I put a sphero ball to the charger. (but there's a notification with type RKRobotOffline fired when calling -[RKConvenienceRobot sleep])

Is it possible to fire a notification for this kind of event? we need this for some UI notifications. If not, is there any timeout of response to check for this?

zenelk commented 9 years ago

Thanks for the report, I have this tracked as SDK-751 on our internal project management and we'll get it fixed in the next release.

zenelk commented 9 years ago

I've just pushed up an update that fixes this. It is a bit slow due to having to rely on the OS telling us that the bluetooth connection has ended, but it does come through now.