For the very beggining of the commissioning process we have call of StartCommissioning function.
Now it doesn't make any sanity check, like existense of passed clusters list. It is possible as we store all necessary data in the global DevCommClusters_t dev_comm_session.
static CommissioningState_t StartCommissioning(void) {
// TODO: here we might add some sanity check like cluster existense
// or something like that, but now just start commissioning process
SetNextEvent(SC_EZEV_CHECK_NETWORK);
emberEventControlSetActive(StateMachineEvent);
return SC_EZ_START;
}
For the very beggining of the commissioning process we have call of
StartCommissioningfunction.Now it doesn't make any sanity check, like existense of passed clusters list. It is possible as we store all necessary data in the global
DevCommClusters_t dev_comm_session.