# iotgomfi **Repository Path**: guluguluchui/iotgomfi ## Basic Information - **Project Name**: iotgomfi - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-10-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README README

README

Example Summary

Example that demonstrates using HAPEngine to create an accessory with custom services and characteristics. It contains an accessory called Doodad which contains a custom service which contains the On characteristic as well as 4 other custom characteristics of int, float, bool and string types.

Board Usage/Settings (CC3220SF LP)

Example Usage

Build, load and run the example. LED D7 flashes for the first 5 seconds during which pressing SW2 will force the device into WAC mode. If button SW2 isn’t pressed, the accessory will try to connect to one its stored AP profiles for 10 seconds. If successfull, it acquries an IP address and prints it to the console or else it goes into WAC mode waiting to be provisioned.

Also printed to the console is “MFiAuth: 0” when an MFi chip is detected and functioning on the I2C bus. “MFiAuth: -2” will be printed if not detected.

Now connected to the network, you can now discover, pair and interact with the accessory from your HomeKit app. The pairing setup code is 111-22-333.

Pushing SW3 at anytime will do a HomeKit reset and wipe all paired controllers from the accessory.

Note there isn’t any visible identify sequence for this accessory.

Some HomeKit apps may not support interacting with custom services and characteristics.

*Refer to the Getting Started Guide for more details about board setup, building and flashing the LaunchPad.