mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
34 lines
604 B
C
34 lines
604 B
C
|
/*
|
||
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
||
|
|
||
|
Unless required by applicable law or agreed to in writing, this
|
||
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
||
|
CONDITIONS OF ANY KIND, either express or implied.
|
||
|
*/
|
||
|
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
|
||
|
/* Attributes State Machine */
|
||
|
enum
|
||
|
{
|
||
|
IDX_SVC,
|
||
|
IDX_CHAR_A,
|
||
|
IDX_CHAR_VAL_A,
|
||
|
IDX_CHAR_CFG_A,
|
||
|
|
||
|
IDX_CHAR_B,
|
||
|
IDX_CHAR_VAL_B,
|
||
|
IDX_CHAR_CFG_B,
|
||
|
|
||
|
IDX_CHAR_C,
|
||
|
IDX_CHAR_VAL_C,
|
||
|
IDX_CHAR_CFG_C,
|
||
|
IDX_CHAR_CFG_C_2,
|
||
|
|
||
|
HRS_IDX_NB,
|
||
|
};
|