{"push_id":613396444,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"24b4e8b947e609dc6b1f6e8abb9538447bfcd6f1","before":"6628775c3be89a51f7cb49eedcdac08882c9bc87","commits":[{"sha":"24b4e8b947e609dc6b1f6e8abb9538447bfcd6f1","author":{"email":"bca65eddda70cf457f31c9ca6c2a06aefbfcde2a@foo.bar","name":"Adam Green"},"message":"Initial commit of OS X console sample\n\nThis is the initial commit of the sample code that I have written to\nallow the control of the MiP robot over Bluetooth Low Energy (BLE)\nusing the Core Bluetooth framework on OS X.\n\nTwo threads are used in this sample.  The main thread is left executing\na NSApplication run loop.  A worker thread is started to run the\ncode which wants to interact with the robot to do things like\ncommanding it to drive around.  The code running in this thread\nstarts at the robotMain() function found in main.c  When it needs\nto utilize the Core Bluetooth stack, it communicates its requests to\nthe main thread via mipTransport*() functions.\n\nThere are a few limitations to the current code:\n* The transport mechanism, OS X Core Bluetooth in this case, is exposed\n  directly to the developer.  In the future this will be abstracted\n  behind a transport agnostic interface.  But that will only happen if\n  I continue to experiment with the MiP robot after playing around with\n  this current API to see what is and isn't possible to accomplish with\n  this little bot.\n* There is currently no code to attempt reconnecting to the MiP if it\n  should go out of range or otherwise lose its BLE connectivity for a\n  brief period of time.\n* It is relatively untested at this time.  I will continue to test and\n  explore the abilities of the MiP and this code in the near futre.\n* There is limited documentation.  I did add some comments to the\n  mip.h header file.  I will flush this documentation out further in\n  the future if I decide to continue with these MiP hacks.","distinct":true,"url":"https://api.github.com/repos/adamgreen/MiP/commits/24b4e8b947e609dc6b1f6e8abb9538447bfcd6f1"}]}