1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/include/libwebsockets
Andy Green 15ce46d971 drivers: initial generic gpio and i2c plus bitbang
Make a start on generic peripheral and bus drivers to provide
meta-functionality regardless of platform.

On the one hand this simply provides...

 - bitbang i2c on top of esp-idf gpio apis
 - ssd1306 oled chip driver as found on Heltec WB32
 - modifications to the minimal example test for esp32 to use that

... on the other hand, those capabilities are provided by creating:

 - an abstract i2c class object
 - an abstract gpio class object
 - i2c class implementation using the abstract gpio for bitbang
 - an abstract display class object
 - an abstract display state (brightness, animated change,
    on/off/init tracking, autodim after inactive, auto-off /
    blanking after inactive)

... with the intention, eg, you only have to add a platform
implementation for the gpio to be able to use the i2c-based
display drivers and state handling, and i2c bitbang, without
any other modifications.
2020-06-10 19:17:08 +01:00
..
abstract abstract: existing connection compare 2019-10-10 16:34:37 +01:00
lws-adopt.h adopt: pass wsi opaque so its set from the start 2019-12-09 14:48:54 +00:00
lws-async-dns.h LWS_WITH_UDP 2019-10-12 12:41:14 +01:00
lws-bb-i2c.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-callbacks.h captive portal 2020-03-11 12:44:01 +00:00
lws-cgi.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-client.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-context-vhost.h tls: add read client .pem or .der from memory #1941 2020-06-06 13:09:31 +01:00
lws-dbus.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-detailed-latency.h detailed latency stats 2019-09-22 03:06:59 -07:00
lws-diskcache.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-display.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-dll2.h deprecation: remove lws_dll1 2020-06-02 08:37:10 +01:00
lws-dsh.h cleaning 2020-01-05 22:17:58 +00:00
lws-esp32.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-freertos.h esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00
lws-fts.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-genaes.h Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
lws-gencrypto.h Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
lws-genec.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-genhash.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-genrsa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-gpio.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-http.h http: add cmake option for header reduction defeat 2020-04-23 17:08:57 +01:00
lws-i2c.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-jose.h jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
lws-jwe.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-jwk.h jwk: add export option to suppress final CRLF 2019-11-04 13:49:13 +00:00
lws-jws.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-lejp.h lejp: support outer element is array 2020-05-11 21:20:29 +01:00
lws-logs.h logs: allow giving log bitfields from cmake to force build or exclusion 2020-04-22 06:59:01 +01:00
lws-lwsac.h lwsac: add lwsac_extend api 2020-02-21 17:32:41 +00:00
lws-misc.h windows: for data exports use explicit extern 2020-06-07 07:53:36 +01:00
lws-mqtt.h client: MQTT 2020-03-04 12:17:49 +00:00
lws-network-helper.h esp32: shift to support latest esp-idf 2020-05-27 08:40:12 +01:00
lws-optee.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-plugin-generic-sessions.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-protocols-plugins.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-purify.h lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lws-retry.h lws_retry: udp support 2019-10-10 16:34:37 +01:00
lws-ring.h cleaning: windows 2020-03-04 12:17:49 +00:00
lws-secure-streams-client.h ss: allow url style endpoint addresses 2020-03-15 06:19:38 +00:00
lws-secure-streams-policy.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-secure-streams.h ss: formalize user cb retcodes 2020-06-02 08:37:10 +01:00
lws-sequencer.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-service.h lws_sul: make it clear NULL no longer valid in lws_service_fd 2019-09-22 03:08:36 -07:00
lws-sha1-base64.h base64: stateful decode 2019-09-06 15:30:51 +01:00
lws-spa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-ssd1306-i2c.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-state.h fail paths: deregister notifier and be sure adopt returns NULL 2019-12-06 17:14:28 +00:00
lws-stats.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-struct.h api-test: lws_struct-json: add worked example 2020-05-27 08:40:12 +01:00
lws-system.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-test-sequencer.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-threadpool.h ctest: fixes-and-changes 2020-04-19 08:43:01 +01:00
lws-timeout-timer.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-tokenize.h lws_struct sqlite3 2020-03-04 11:00:04 +00:00
lws-vfs.h linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-write.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-writeable.h h2: LCCSCF_H2_MANUAL_RXFLOW and refactor txcr 2020-01-02 08:31:02 +00:00
lws-ws-close.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-ws-ext.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-ws-state.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-x509.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00