add watch and block, generated part

This commit is contained in:
Staars 2022-03-25 10:16:42 +01:00
parent cf80b826ac
commit 4fe37a10a4
3 changed files with 1192 additions and 1185 deletions

View File

@ -257,7 +257,9 @@ extern const bcstring be_const_str_add_header;
extern const bcstring be_const_str_add_light; extern const bcstring be_const_str_add_light;
extern const bcstring be_const_str_add_rule; extern const bcstring be_const_str_add_rule;
extern const bcstring be_const_str_addr; extern const bcstring be_const_str_addr;
extern const bcstring be_const_str_adv_block;
extern const bcstring be_const_str_adv_cb; extern const bcstring be_const_str_adv_cb;
extern const bcstring be_const_str_adv_watch;
extern const bcstring be_const_str_allocated; extern const bcstring be_const_str_allocated;
extern const bcstring be_const_str_alternate; extern const bcstring be_const_str_alternate;
extern const bcstring be_const_str_animate; extern const bcstring be_const_str_animate;

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,19 @@
#include "be_constobj.h" #include "be_constobj.h"
static be_define_const_map_slots(be_class_BLE_map) { static be_define_const_map_slots(be_class_BLE_map) {
{ be_const_key(set_chr, -1), be_const_func(be_BLE_set_characteristic) }, { be_const_key(adv_block, -1), be_const_func(be_BLE_adv_block) },
{ be_const_key(set_svc, -1), be_const_func(be_BLE_set_service) }, { be_const_key(conn_cb, -1), be_const_func(be_BLE_reg_conn_cb) },
{ be_const_key(run, -1), be_const_func(be_BLE_run) }, { be_const_key(adv_cb, 5), be_const_func(be_BLE_reg_adv_cb) },
{ be_const_key(conn_cb, 0), be_const_func(be_BLE_reg_conn_cb) },
{ be_const_key(adv_cb, 1), be_const_func(be_BLE_reg_adv_cb) },
{ be_const_key(set_MAC, -1), be_const_func(be_BLE_set_MAC) }, { be_const_key(set_MAC, -1), be_const_func(be_BLE_set_MAC) },
{ be_const_key(adv_watch, -1), be_const_func(be_BLE_adv_watch) },
{ be_const_key(run, -1), be_const_func(be_BLE_run) },
{ be_const_key(set_svc, 4), be_const_func(be_BLE_set_service) },
{ be_const_key(set_chr, 3), be_const_func(be_BLE_set_characteristic) },
}; };
static be_define_const_map( static be_define_const_map(
be_class_BLE_map, be_class_BLE_map,
6 8
); );
BE_EXPORT_VARIABLE be_define_const_class( BE_EXPORT_VARIABLE be_define_const_class(