particle-iot / spark-sdk-ios

DEPRECATED Particle iOS Cloud SDK. Use -->
https://github.com/particle-iot/particle-sdk-ios
Apache License 2.0
52 stars 33 forks source link

Document soft AP device command flow #14

Closed idokleinman closed 9 years ago

idokleinman commented 9 years ago

Issue by towynlin Thursday Jan 15, 2015 at 05:42 GMT Originally opened as https://github.com/spark/mobile-sdk-ios/issues/41


I'm imagining this to simply be a code comment somewhere, but it could be in the README or another piece of documentation. It would help newcomers to the code get oriented if there were a list of the typical flow through soft AP in terms of the commands issued to the device.

From a conversation with @idokleinman, here's the current state of things:

device-id -> public-key -> set -> scan-ap -> configure-ap -> connect-ap

idokleinman commented 9 years ago

Comment by idokleinman Thursday Jan 15, 2015 at 16:39 GMT


Actually there's lots of internal code flow that happens in Soft AP, also in SDK. I am not sure README is a suitable place for documenting that. I can add few lines to the header or implementation file of SparkSetupCommManager class probably

idokleinman commented 9 years ago

Moved to spark/spark-setup-ios