而R3和R0的通信依靠IRP(I/O Request Packet)传递消息 R3与R0通信还需要一个关键的角色:设备对象 步骤: 1.创建设备对象IoCreateDevice -创建一个设备名称 -创建符号链接让3环能找到这个设备 2.设备数据交互方式 -DO_BUFFERD_IO 缓冲区读写,将三环缓冲区数据复制到零环 -DO_DIRECT_IO 直接读写,三环和零环不同...
https://github.com/espressif/esp-idf/bl ... eat_demo.c In the example there is the function which create the attribute table, esp_ble_gatts_create_attr_tab(constesp_gatts_attr_db_t *gatts_attr_db, esp_gatt_if_tgatts_if, uint8_t max_nb_attr, uint8_t srvc_inst_id). the last...