feat(sc): transfer smartconfig ACK type to sc_callback

This commit is contained in:
Chen Wen
2019-05-17 20:42:42 +08:00
parent 49980d6f36
commit ca53760dec
3 changed files with 31 additions and 6 deletions

View File

@ -54,6 +54,14 @@ typedef struct sc_ack {
} ctx;
} sc_ack_t;
/**
* @brief Smartconfig parameters passed sc_callback call.
*/
typedef struct sc_callback_ack {
uint8_t ip[4]; /*!< IP address of cellphone */
sc_ack_type_t type; /*!< Smartconfig ACK type */
} sc_callback_data_t;
/**
* @brief Send smartconfig ACK to cellphone.
*