lvgl / lv_apps

Ready to use UIs and high level components for applications
MIT License
11 stars 12 forks source link

Discussion: BLE Example App #2

Open Aiouan opened 5 years ago

Aiouan commented 5 years ago

Hey All, I intend to start a BLE Demo App for lvgl, this is a general discussion to collect ideas for what people would like to see in that App.. At the top level there are 2 parts to BLE, the Client and the Server: The Client: Essentially the Client scans for other BLE Devices and connects to a chosen device, so my intention is to have a list of available devices and it connects to the one chosen by the user. Once connected, it will display a number of parameters, much like the Scanner Apps for Android etc. The Server: The Server "Advertises its presence, the contents of the Advertising packet can be dynamic at run time, such as the device name etc. Then it can be connected to by another device, such as a phone or another ESP etc.

/discuss :D

kisvegabor commented 5 years ago

Hi,

Sounds good! It seems reasonable to create 2 separate apps (server and client).

BTW, on the highest level the roles are "Peripheral" ( Sends out advertisements to inform central devices that it is ready for connection.) and "Central" (Scans for advertisements from peripheral devices and initiates connections). IMO these names are more intuitive.

ttxs1002004 commented 5 years ago

Hey All, I intend to start a BLE Demo App for lvgl, this is a general discussion to collect ideas for what people would like to see in that App.. At the top level there are 2 parts to BLE, the Client and the Server: The Client: Essentially the Client scans for other BLE Devices and connects to a chosen device, so my intention is to have a list of available devices and it connects to the one chosen by the user. Once connected, it will display a number of parameters, much like the Scanner Apps for Android etc. The Server: The Server "Advertises its presence, the contents of the Advertising packet can be dynamic at run time, such as the device name etc. Then it can be connected to by another device, such as a phone or another ESP etc.

/discuss :D

Great!