]> Git Repo - esp-hosted.git/commit
feature/single_user Allow only one user to access serial driver
authorSoh Kam Yung <[email protected]>
Tue, 19 Mar 2024 03:03:02 +0000 (11:03 +0800)
committerBOT <[email protected]>
Fri, 22 Mar 2024 03:08:16 +0000 (11:08 +0800)
commitcd856517599abc9200922718260b686e0069e344
tree220b07e50d42911761679cf2a523b1dbf0847f2c
parenta2c946b172de0dc7429dee32239e3ded893e3ebf
feature/single_user Allow only one user to access serial driver

- use fcntl() to switch file access between non-blocking and blocking
  while flushing ringbuffer, remove separate open()/close() call
- count open references in serial driver and deny access if already opened
- fix memory leak when app is unable to access the serial driver
- print informative messages when app is unable to access the serial driver
- added fclose() to fix memory leak
- added async version of disable heartbeat
esp_hosted_fg/host/control_lib/src/ctrl_core.c
esp_hosted_fg/host/linux/host_control/c_support/test.c
esp_hosted_fg/host/linux/host_control/c_support/test.h
esp_hosted_fg/host/linux/host_control/c_support/test_utils.c
esp_hosted_fg/host/linux/host_driver/esp32/esp_serial.c
esp_hosted_fg/host/linux/port/src/platform_wrapper.c
This page took 0.029243 seconds and 5 git commands to generate.