Skip to content

Start Commissioning state improvment #3

Description

@vpetrigo

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;  
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions