Code is hosted at https://github.com/shadowdash1901/idf_ble_simple
This is the output
Code: Select all
I (491) main_task: Calling app_main()
I (505) BTDM_INIT: BT controller compile version [f7360be]
I (507) BTDM_INIT: Bluetooth MAC: d4:d4:da:0f:cc:2e
I (510) phy_init: phy_version 4840,02e0d70,Sep 2 2024,19:39:07
I (902) gatts_simple: GATT server register, status 0, app_id 0, gatts_if 3
I (908) gatts_simple: Raw Adv Data Complete
I (913) gatts_simple: RAW adv rsp data complete
I (927) gatts_simple: Advertising start successfully
I (928) gatts_simple: Service UUID df0b4f24-cb71-4ec0-b43e-7f6fc3a3440f
I (929) gatts_simple: Service create, status 0, service_handle 40
I (934) gatts_simple: Char uuid: 2b6513d4-5453-4d15-af7f-98788ffe9e51
I (940) gatts_simple: Adding characteristic srv_hdl:40 perm:17 prop:26
I (946) gatts_simple: Characteristic add, status 133, attr_handle 0 service_handle 40
I (953) main: Hello World!
I (956) main_task: Returned from app_main()