Search
 
SCRIPT & CODE EXAMPLE
 

C

esp local control

esp_local_ctrl_config_t config = {
    .transport = ESP_LOCAL_CTRL_TRANSPORT_BLE,
    .transport_config = {
        .ble = & (protocomm_ble_config_t) {
            .device_name  = SERVICE_NAME,
            .service_uuid = {
                /* LSB <---------------------------------------
                * ---------------------------------------> MSB */
                0x21, 0xd5, 0x3b, 0x8d, 0xbd, 0x75, 0x68, 0x8a,
                0xb4, 0x42, 0xeb, 0x31, 0x4a, 0x1e, 0x98, 0x3d
            }
        }
    },
    .proto_sec = {
        .version = PROTOCOM_SEC0,
        .custom_handle = NULL,
        .pop = NULL,
    },
    .handlers = {
        /* User defined handler functions */
        .get_prop_values = get_property_values,
        .set_prop_values = set_property_values,
        .usr_ctx         = NULL,
        .usr_ctx_free_fn = NULL
    },
    /* Maximum number of properties that may be set */
    .max_properties = 10
};

/* Start esp_local_ctrl service */
ESP_ERROR_CHECK(esp_local_ctrl_start(&config));
Comment

PREVIOUS NEXT
Code Example
C :: remove language from jupyter notebook 
C :: c to assembly online compiler 
C :: What does x = (a<b)? A:b mean in C programming? 
C :: ask the user if they would like to do something again in C 
C :: instller acrobat ous ubuntu 
C :: c program to pass a single element in an funtional array 
C :: C access global variable same name 
C :: OpenDaylight maven settings 
C :: C Program to Maintain an Inventory of items in Online Store 
C :: remove every appearance of char without malloc in c 
C :: java Node<E 
C :: My name is c 
C :: Uri/beecrowd problem no - 1099 solution in C 
C :: Algorithm that flips sentences and numbers 
C :: counting 7s in an integer c 
C :: add last in list c 
C :: online code runner .c 
C :: Print fabionci with fork in C 
C :: largest value in u32 
C :: np mean 2nd dimension 
C :: gsl matrix invert 
C :: pthread_create 
C :: difference between int main() and int main(void) 
C :: c triangle check if triangle is 90 degrees 
Dart :: How to attach a FloatingActionButton to the AppBar 
Dart :: flutter appbar text color 
Dart :: flutter replace character in string 
Dart :: constrainedbox flutter 
Dart :: date now dart 
Dart :: flutter lock orientation 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =