更新记录链接:QCC51XX---系统学习目录_嵌入式学习_force的博客-CSDN博客
目录
3.fastPair_HandleSystemStateChange
1.FastPair_Init
{FastPair_Init, 0, NULL},
bool FastPair_Init(Task init_task)
{
bool status = FALSE;
fastPairTaskData *theFastPair = fastPair_GetTaskData();
UNUSED(init_task);
DEBUG_LOG("FastPair_Init");
memset(theFastPair, 0, sizeof(*theFastPair));
/* Set up task handler */
theFastPair->task.handler = FastPair_HandleMessage;
/* Initialise state */
theFastPair->state = FAST_PAIR_STATE_NULL;
fastPair_SetState(theFastPair, FAST_PAIR_STATE_NULL);
/* Initialise retroactively writing account key flag to FALSE */
fastPair_SetRetroactivelyWritingAccountKeyFlag(FALSE);
/* Regis