What about this periph_service?

janchri
Posts: 3
Joined: Sun Jan 26, 2020 11:29 pm

What about this periph_service?

Postby janchri » Thu Feb 13, 2020 11:27 pm

Dear all,

can someone elaborate on this part of the framework? What I found out so far is that esp-dispatcher is somehow in charge. However, on the official docu page of the audio framework I was not able to find any useful information. What is the general concept/idea behind this set of functions?

I see that there are some input_key_service_* function/folder, also bluetooth and wifi seems to be implemented. What do I need to do if I, for example, want to include some RFID card reader as a new peripheral? Should I copy and include such a set of rfid_cardreader_service_* functions? I am a little bit lost and for now cannot see the benefits of using this instead of the "ESP Peripherals" https://docs.espressif.com/projects/esp ... erals.html, where I typically start with esp_periph_set_init() define my callbacks with esp_periph_set_register_callback() and include configured peripherals like sdcard, wifi, keys with periph_sdcard_init(), periph_wifi_init(), periph_button_init().

Many thanks in advance

Who is online

Users browsing this forum: No registered users and 39 guests