kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'doc/fix_a_typo_in_gatt_server_demo' into 'master'
Fix a typo in the GATT Server walkthrough Closes IDFGH-8646 See merge request espressif/esp-idf!20895pull/9962/head
commit
4fe074b3c8
|
@ -499,7 +499,7 @@ case ESP_GATTS_CREATE_EVT:
|
|||
break;
|
||||
```
|
||||
|
||||
First, the service handle generated by the BLE stack is stored in the profile table, which will be used later by the application layer to refer to this service. Then, the UUID of the characteristic and its UUID length are set. The length of the characteristic UUID is again 16 bits. The service is started using the `esp_ble_gatts_start_service()` function with the service handle previously generated. An `ESP_GATTS_START_EVT` event, which is used to print information, is triggered. The characteristic is added to the service by the `esp_ble_gatts_start_service()` function in conjunction with the characteristics permissions and properties. In this example, the characteristics in both profiles are set up as follows:
|
||||
First, the service handle generated by the BLE stack is stored in the profile table, which will be used later by the application layer to refer to this service. Then, the UUID of the characteristic and its UUID length are set. The length of the characteristic UUID is again 16 bits. The service is started using the `esp_ble_gatts_start_service()` function with the service handle previously generated. An `ESP_GATTS_START_EVT` event, which is used to print information, is triggered. The characteristic is added to the service by the `esp_ble_gatts_add_char()` function in conjunction with the characteristics permissions and properties. In this example, the characteristics in both profiles are set up as follows:
|
||||
|
||||
Permissions:
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue