Added patch from Rob Blanckaert
Added set Encrypton to gatts connect handler
esp32_gatts_func.h
- added a bool for connected from a client in gatts_service_inst
esp32_gatts_func.c
- added include for esp_gap_ble_api.h
- added function to check if a client is connected
- added patches from Rob Blanckaert ( https://github.com/basicer/Espruino/tree/ESP32-v3.0 ) to gatts_write_value_handler
- added esp_ble_set_encryption to gatts_connect_handler
- added handling of connected flag, see esp32_gatts_func.h
- fixed startAdvertising, started only if no client is connected
- added permissions to UART decriptor, patch from Rob Blanckaert
- set connected to false in initialisation