Home
last modified time | relevance | path

Searched refs:MP_OBJ_NEW_QSTR (Results 1 – 25 of 110) sorted by relevance

12345

/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmoddriver.c33 { MP_OBJ_NEW_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&driver_adc_type) },
34 { MP_OBJ_NEW_QSTR(MP_QSTR_PWM), MP_ROM_PTR(&driver_pwm_type) },
35 { MP_OBJ_NEW_QSTR(MP_QSTR_GPIO), MP_ROM_PTR(&driver_gpio_type) },
36 { MP_OBJ_NEW_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&driver_i2c_type) },
37 { MP_OBJ_NEW_QSTR(MP_QSTR_UART), MP_ROM_PTR(&driver_uart_type) },
38 { MP_OBJ_NEW_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&driver_spi_type) },
39 { MP_OBJ_NEW_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&driver_rtc_type) },
41 { MP_OBJ_NEW_QSTR(MP_QSTR_CAN), MP_ROM_PTR(&driver_can_type) },
43 { MP_OBJ_NEW_QSTR(MP_QSTR_IR), MP_ROM_PTR(&driver_ir_type) },
44 { MP_OBJ_NEW_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&driver_wdt_type) },
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmoddriver.c34 {MP_OBJ_NEW_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&driver_adc_type)},
35 {MP_OBJ_NEW_QSTR(MP_QSTR_PWM), MP_ROM_PTR(&driver_pwm_type)},
36 {MP_OBJ_NEW_QSTR(MP_QSTR_GPIO), MP_ROM_PTR(&driver_gpio_type)},
37 {MP_OBJ_NEW_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&driver_i2c_type)},
38 {MP_OBJ_NEW_QSTR(MP_QSTR_UART), MP_ROM_PTR(&driver_uart_type)},
39 {MP_OBJ_NEW_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&driver_spi_type)},
40 {MP_OBJ_NEW_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&driver_rtc_type)},
42 {MP_OBJ_NEW_QSTR(MP_QSTR_CAN), MP_ROM_PTR(&driver_can_type)},
44 {MP_OBJ_NEW_QSTR(MP_QSTR_IR), MP_ROM_PTR(&driver_ir_type)},
45 {MP_OBJ_NEW_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&driver_wdt_type)},
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmoddriver.c34 {MP_OBJ_NEW_QSTR(MP_QSTR_ADC), MP_ROM_PTR(&driver_adc_type)},
35 {MP_OBJ_NEW_QSTR(MP_QSTR_PWM), MP_ROM_PTR(&driver_pwm_type)},
36 {MP_OBJ_NEW_QSTR(MP_QSTR_GPIO), MP_ROM_PTR(&driver_gpio_type)},
37 {MP_OBJ_NEW_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&driver_i2c_type)},
38 {MP_OBJ_NEW_QSTR(MP_QSTR_UART), MP_ROM_PTR(&driver_uart_type)},
39 {MP_OBJ_NEW_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&driver_spi_type)},
40 {MP_OBJ_NEW_QSTR(MP_QSTR_RTC), MP_ROM_PTR(&driver_rtc_type)},
42 {MP_OBJ_NEW_QSTR(MP_QSTR_CAN), MP_ROM_PTR(&driver_can_type)},
44 {MP_OBJ_NEW_QSTR(MP_QSTR_IR), MP_ROM_PTR(&driver_ir_type)},
45 {MP_OBJ_NEW_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&driver_wdt_type)},
[all …]
/AliOS-Things-master/components/py_engine/modules/netmgr/
A Dmodnetmgr.c322 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_netmgr) },
323 { MP_OBJ_NEW_QSTR(MP_QSTR_init), MP_ROM_PTR(&hapy_netmgr_init_obj) },
325 { MP_OBJ_NEW_QSTR(MP_QSTR_connect), MP_ROM_PTR(&hapy_netmgr_connect_obj) },
326 { MP_OBJ_NEW_QSTR(MP_QSTR_disconnect), MP_ROM_PTR(&hapy_netmgr_disconnect_obj) },
327 { MP_OBJ_NEW_QSTR(MP_QSTR_getStatus), MP_ROM_PTR(&hapy_netmgr_getStatus_obj) },
328 { MP_OBJ_NEW_QSTR(MP_QSTR_getDev), MP_ROM_PTR(&hapy_netmgr_getDev_obj) },
331 { MP_OBJ_NEW_QSTR(MP_QSTR_ifconfig), MP_ROM_PTR(&hapy_netmgr_ifconfig_obj) },
332 { MP_OBJ_NEW_QSTR(MP_QSTR_getConfig), MP_ROM_PTR(&hapy_netmgr_getConfig_obj) },
337 { MP_OBJ_NEW_QSTR(MP_QSTR_on), MP_ROM_PTR(&hapy_netmgr_on_obj) },
338 { MP_OBJ_NEW_QSTR(MP_QSTR_getInfo), MP_ROM_PTR(&hapy_netmgr_getInfo_obj) },
[all …]
/AliOS-Things-master/components/py_engine/modules/ulog/
A Dmodlog.c170 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_ulog) },
171 { MP_OBJ_NEW_QSTR(MP_QSTR_debug), MP_ROM_PTR(&native_debug_log_out) },
172 { MP_OBJ_NEW_QSTR(MP_QSTR_info), MP_ROM_PTR(&native_info_log_out) },
173 { MP_OBJ_NEW_QSTR(MP_QSTR_warn), MP_ROM_PTR(&native_warn_log_out) },
174 { MP_OBJ_NEW_QSTR(MP_QSTR_error), MP_ROM_PTR(&native_error_log_out) },
175 { MP_OBJ_NEW_QSTR(MP_QSTR_fatal), MP_ROM_PTR(&native_fatal_log_out) },
181 { MP_OBJ_NEW_QSTR(MP_QSTR_LOG_DEBUG), MP_ROM_INT(AOS_LL_DEBUG) },
182 { MP_OBJ_NEW_QSTR(MP_QSTR_LOG_INFO), MP_ROM_INT(AOS_LL_INFO) },
183 { MP_OBJ_NEW_QSTR(MP_QSTR_LOG_WARN), MP_ROM_INT(AOS_LL_WARN) },
184 { MP_OBJ_NEW_QSTR(MP_QSTR_LOG_ERROR), MP_ROM_INT(AOS_LL_ERROR) },
[all …]
/AliOS-Things-master/components/py_engine/modules/minicv/
A Dmodminicv.c20 {MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_minicv)},
21 {MP_OBJ_NEW_QSTR(MP_QSTR_DataInput), MP_ROM_PTR(&minicv_datainput_type)},
22 {MP_OBJ_NEW_QSTR(MP_QSTR_ImageCodec), MP_ROM_PTR(&minicv_imagecodec_type)},
23 {MP_OBJ_NEW_QSTR(MP_QSTR_ImageProc), MP_ROM_PTR(&minicv_imageproc_type)},
25 {MP_OBJ_NEW_QSTR(MP_QSTR_ML), MP_ROM_PTR(&minicv_ml_type)},
27 {MP_OBJ_NEW_QSTR(MP_QSTR_UI), MP_ROM_PTR(&minicv_ui_type)},
28 {MP_OBJ_NEW_QSTR(MP_QSTR_VideoCodec), MP_ROM_PTR(&minicv_videocodec_type)},
A Ddatainput.c297 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_NONE),
299 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_IMAGE_BMP),
301 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_IMAGE_GIF),
303 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_IMAGE_PNG),
305 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_IMAGE_JPG),
307 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_VIDEO_FILE),
309 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_VIDEO_RTMP),
311 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_VIDEO_RTSP),
313 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_CAMERA_USB),
317 {MP_OBJ_NEW_QSTR(MP_QSTR_DATA_INPUT_SOURCE_CAMERA_IP),
[all …]
/AliOS-Things-master/components/py_engine/modules/audio/
A Dmoduvoice.c18 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_audio) },
19 { MP_OBJ_NEW_QSTR(MP_QSTR_Snd), MP_ROM_PTR(&uvoice_snd_type) },
20 { MP_OBJ_NEW_QSTR(MP_QSTR_Player), MP_ROM_PTR(&uvoice_player_type) },
21 { MP_OBJ_NEW_QSTR(MP_QSTR_Recorder), MP_ROM_PTR(&uvoice_recorder_type) },
22 { MP_OBJ_NEW_QSTR(MP_QSTR_Tts), MP_ROM_PTR(&uvoice_tts_type) },
/AliOS-Things-master/components/py_engine/modules/ugraphics/
A Dmodugraphics.c279 { MP_OBJ_NEW_QSTR(MP_QSTR_loadFont),
281 { MP_OBJ_NEW_QSTR(MP_QSTR_setFontStyle),
283 { MP_OBJ_NEW_QSTR(MP_QSTR_ugraphicsFlip),
287 { MP_OBJ_NEW_QSTR(MP_QSTR_setColour),
289 { MP_OBJ_NEW_QSTR(MP_QSTR_drawRect),
291 { MP_OBJ_NEW_QSTR(MP_QSTR_fillRect),
293 { MP_OBJ_NEW_QSTR(MP_QSTR_drawLine),
295 { MP_OBJ_NEW_QSTR(MP_QSTR_drawString),
297 { MP_OBJ_NEW_QSTR(MP_QSTR_stringWidth),
299 { MP_OBJ_NEW_QSTR(MP_QSTR_saveImage),
[all …]
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjmodule.c43 …mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_MAP… in module_print()
51 elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___file__), MP_MAP_LOOKUP); in module_print()
65 … mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in module_attr()
70 … elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___getattr__), MP_MAP_LOOKUP); in module_attr()
72 dest[0] = mp_call_function_1(elem->value, MP_OBJ_NEW_QSTR(attr)); in module_attr()
95 mp_obj_dict_delete(MP_OBJ_FROM_PTR(dict), MP_OBJ_NEW_QSTR(attr)); in module_attr()
98 mp_obj_dict_store(MP_OBJ_FROM_PTR(dict), MP_OBJ_NEW_QSTR(attr), dest[1]); in module_attr()
126 …mp_obj_dict_store(MP_OBJ_FROM_PTR(o->globals), MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(… in mp_obj_new_module()
249 …mp_map_elem_t *el = mp_map_lookup(mp_loaded_modules_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOK… in mp_module_get()
253 …el = mp_map_lookup((mp_map_t *)&mp_builtin_module_map, MP_OBJ_NEW_QSTR(module_name), MP_MAP_LOOKUP… in mp_module_get()
[all …]
A Dbuiltinimport.c136 mp_store_attr(module_obj, MP_QSTR___file__, MP_OBJ_NEW_QSTR(source_name)); in do_load_from_lexer()
150 mp_store_attr(module_obj, MP_QSTR___file__, MP_OBJ_NEW_QSTR(qstr_from_str(source_name))); in do_execute_raw_code()
281 …mp_obj_t this_name_q = mp_obj_dict_get(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(MP_QSTR_… in mp_builtin___import__()
286 …this_name_q = mp_obj_dict_get(MP_OBJ_FROM_PTR(mp_globals_get()), MP_OBJ_NEW_QSTR(MP_QSTR___main__)… in mp_builtin___import__()
290 …mp_map_elem_t *elem = mp_map_lookup(globals_map, MP_OBJ_NEW_QSTR(MP_QSTR___path__), MP_MAP_LOOKUP); in mp_builtin___import__()
330 module_name = MP_OBJ_NEW_QSTR(new_mod_q); in mp_builtin___import__()
425 …mp_obj_dict_store(MP_OBJ_FROM_PTR(o->globals), MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(… in mp_builtin___import__()
428 …bj_dict_store(MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_loaded_modules_dict)), MP_OBJ_NEW_QSTR(MP_QSTR___mai… in mp_builtin___import__()
430 …mp_obj_dict_store(MP_OBJ_FROM_PTR(o->globals), MP_OBJ_NEW_QSTR(MP_QSTR___main__), MP_OBJ_NEW_QSTR(… in mp_builtin___import__()
A Dprofile.c345 args->event = MP_OBJ_NEW_QSTR(MP_QSTR_call); in mp_prof_frame_enter()
410 args->event = MP_OBJ_NEW_QSTR(MP_QSTR_line); in mp_prof_instr_tick()
417 args->event = MP_OBJ_NEW_QSTR(MP_QSTR_return); in mp_prof_instr_tick()
427 args->event = MP_OBJ_NEW_QSTR(MP_QSTR_opcode); in mp_prof_instr_tick()
512 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
542 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
552 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
562 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
572 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
579 instruction->argobj = MP_OBJ_NEW_QSTR(qst); in mp_prof_opcode_decode()
[all …]
/AliOS-Things-master/components/py_engine/modules/video/
A Dmodvideo.c14 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_video) },
15 { MP_OBJ_NEW_QSTR(MP_QSTR_Player), MP_ROM_PTR(&video_player_type) },
16 { MP_OBJ_NEW_QSTR(MP_QSTR_Recorder), MP_ROM_PTR(&video_recorder_type) },
17 { MP_OBJ_NEW_QSTR(MP_QSTR_camera), MP_ROM_PTR(&video_camera_type) },
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodlinkkit.c246 dict, MP_OBJ_NEW_QSTR(qstr_from_str("id")), in demo_dm_recv_handler()
250 dict, MP_OBJ_NEW_QSTR(qstr_from_str("param")), in demo_dm_recv_handler()
633 { MP_OBJ_NEW_QSTR(MP_QSTR_init), MP_ROM_PTR(&mp_obj_link_init) },
634 { MP_OBJ_NEW_QSTR(MP_QSTR_register_dyn_dev),
637 { MP_OBJ_NEW_QSTR(MP_QSTR_register_call_back),
639 { MP_OBJ_NEW_QSTR(MP_QSTR_post_property),
644 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CONNECT), MP_ROM_INT(ON_CONNECT) },
646 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_SERVICE), MP_ROM_INT(ON_SERVICE) },
647 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_PROPS), MP_ROM_INT(ON_PROPS) },
648 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CLOSE), MP_ROM_INT(ON_CLOSE) },
[all …]
A DmodaliyunIoT.c15 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_aliyunIoT) },
16 { MP_OBJ_NEW_QSTR(MP_QSTR_Device), MP_ROM_PTR(&linksdk_device_type) },
17 { MP_OBJ_NEW_QSTR(MP_QSTR_Gateway), MP_ROM_PTR(&linksdk_gateway_type) },
A Dmodule_aiot_gateway.c878 { MP_OBJ_NEW_QSTR(MP_QSTR_login), MP_ROM_PTR(&native_gateway_login) },
879 { MP_OBJ_NEW_QSTR(MP_QSTR_logout), MP_ROM_PTR(&native_gateway_logout) },
881 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CONNECT), MP_ROM_INT(ON_CONNECT) },
882 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_DISCONNECT), MP_ROM_INT(ON_DISCONNECT) },
883 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CLOSE), MP_ROM_INT(ON_CLOSE) },
884 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_SUBCRIBE), MP_ROM_INT(ON_SUBCRIBE) },
885 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_LOGIN), MP_ROM_INT(ON_LOGIN) },
886 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_LOGOUT), MP_ROM_INT(ON_LOGOUT) },
887 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_TOPOADD), MP_ROM_INT(ON_TOPOADD) },
888 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_TOPOGET), MP_ROM_INT(ON_TOPOGET) },
[all …]
A Dmodule_aiot_device.c1135 { MP_OBJ_NEW_QSTR(MP_QSTR_on), MP_ROM_PTR(&native_aiot_register_cb) },
1140 { MP_OBJ_NEW_QSTR(MP_QSTR_unsubscribe),
1145 {MP_OBJ_NEW_QSTR(MP_QSTR_postRaw), MP_ROM_PTR(&native_aiot_postRaw)},
1149 { MP_OBJ_NEW_QSTR(MP_QSTR_end), MP_ROM_PTR(&native_aiot_close) },
1150 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CONNECT), MP_ROM_INT(ON_CONNECT) },
1152 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_SERVICE), MP_ROM_INT(ON_SERVICE) },
1153 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_PROPS), MP_ROM_INT(ON_PROPS) },
1154 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_CLOSE), MP_ROM_INT(ON_CLOSE) },
1155 { MP_OBJ_NEW_QSTR(MP_QSTR_ON_ERROR), MP_ROM_INT(ON_ERROR) },
1156 {MP_OBJ_NEW_QSTR(MP_QSTR_ON_RAWDATA), MP_ROM_INT(ON_RAWDATA)},
[all …]
/AliOS-Things-master/components/py_engine/modules/system/
A Dmodsystem.c90 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_system) },
91 { MP_OBJ_NEW_QSTR(MP_QSTR_getInfo), MP_ROM_PTR(&native_get_system_info) },
92 { MP_OBJ_NEW_QSTR(MP_QSTR_sleep), MP_ROM_PTR(&native_sleep_system) },
93 { MP_OBJ_NEW_QSTR(MP_QSTR_reboot), MP_ROM_PTR(&native_reset_system) },
94 { MP_OBJ_NEW_QSTR(MP_QSTR_getUptime), MP_ROM_PTR(&native_get_system_uptime) },
95 { MP_OBJ_NEW_QSTR(MP_QSTR_getMemory), MP_ROM_PTR(&native_get_memory_info) },
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttpclient.c767 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_client) },
768 { MP_OBJ_NEW_QSTR(MP_QSTR_set_header),
770 { MP_OBJ_NEW_QSTR(MP_QSTR_set_data),
779 { MP_OBJ_NEW_QSTR(MP_QSTR_get_response_code),
781 { MP_OBJ_NEW_QSTR(MP_QSTR_get_response_header),
784 { MP_OBJ_NEW_QSTR(MP_QSTR_add_text), MP_ROM_PTR(&mp_obj_add_text) },
786 { MP_OBJ_NEW_QSTR(MP_QSTR_delete), MP_ROM_PTR(&mp_obj_delete) },
787 { MP_OBJ_NEW_QSTR(MP_QSTR_reset), MP_ROM_PTR(&mp_obj_reset) },
788 { MP_OBJ_NEW_QSTR(MP_QSTR_prepare),
790 { MP_OBJ_NEW_QSTR(MP_QSTR_unprepare),
[all …]
/AliOS-Things-master/components/py_engine/modules/modbus/
A Dmodbus.c472 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_modbus) },
473 { MP_OBJ_NEW_QSTR(MP_QSTR_init), MP_ROM_PTR(&mp_modbus_init_obj) },
474 { MP_OBJ_NEW_QSTR(MP_QSTR_deinit), MP_ROM_PTR(&mp_modbus_deinit_obj) },
475 { MP_OBJ_NEW_QSTR(MP_QSTR_writeHoldingRegister), MP_ROM_PTR(&mp_writeHoldingRegister_obj) },
477 { MP_OBJ_NEW_QSTR(MP_QSTR_writeCoil), MP_ROM_PTR(&mp_writeCoil_obj) },
478 { MP_OBJ_NEW_QSTR(MP_QSTR_writeMultipleCoils), MP_ROM_PTR(&mp_writeMultipleCoils_obj) },
480 { MP_OBJ_NEW_QSTR(MP_QSTR_readInputRegisters), MP_ROM_PTR(&mp_readInputRegisters_obj) },
481 { MP_OBJ_NEW_QSTR(MP_QSTR_readDiscreteInputs), MP_ROM_PTR(&mp_readDiscreteInputs_obj) },
482 { MP_OBJ_NEW_QSTR(MP_QSTR_readCoils), MP_ROM_PTR(&mp_readCoils_obj) },
483 { MP_OBJ_NEW_QSTR(MP_QSTR_recv), MP_ROM_PTR(&mp_slave_framerecv_obj) },
[all …]
/AliOS-Things-master/components/py_engine/modules/network/tcp/
A Dmodtcp.c89 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_tcp) },
90 { MP_OBJ_NEW_QSTR(MP_QSTR_createSocket),
92 { MP_OBJ_NEW_QSTR(MP_QSTR_send), MP_ROM_PTR(&mp_obj_tcp_send) },
93 { MP_OBJ_NEW_QSTR(MP_QSTR_recv), MP_ROM_PTR(&mp_obj_tcp_recv) },
/AliOS-Things-master/components/py_engine/modules/ucloud_ai/
A Dmoducloud_ai.c50 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_ucloud_ai) },
51 { MP_OBJ_NEW_QSTR(MP_QSTR_get_token_id), MP_ROM_PTR(&mp_obj_get_token_id) },
52 { MP_OBJ_NEW_QSTR(MP_QSTR_ChatBot), MP_ROM_PTR(&chatbot_type) },
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmqttclient.c288 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_http) },
289 { MP_OBJ_NEW_QSTR(MP_QSTR_on_subcribe),
291 { MP_OBJ_NEW_QSTR(MP_QSTR_username_pw_set),
293 { MP_OBJ_NEW_QSTR(MP_QSTR_connect), MP_ROM_PTR(&mqtt_client_connect) },
294 { MP_OBJ_NEW_QSTR(MP_QSTR_publish), MP_ROM_PTR(&mqtt_client_publish) },
295 { MP_OBJ_NEW_QSTR(MP_QSTR_subscribe), MP_ROM_PTR(&mqtt_client_subscribe) },
296 { MP_OBJ_NEW_QSTR(MP_QSTR_loop), MP_ROM_PTR(&mqtt_client_loop) },
297 { MP_OBJ_NEW_QSTR(MP_QSTR_disconnect),
/AliOS-Things-master/components/py_engine/modules/network/udp/
A Dmodudp.c111 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_tcp) },
112 { MP_OBJ_NEW_QSTR(MP_QSTR_createSocket),
115 { MP_OBJ_NEW_QSTR(MP_QSTR_sendto), MP_ROM_PTR(&mp_obj_udp_sendto) },
116 { MP_OBJ_NEW_QSTR(MP_QSTR_recvfrom), MP_ROM_PTR(&mp_obj_udp_recvfrom) },
/AliOS-Things-master/components/py_engine/modules/ai_agent/
A Dmodaiagent.c15 { MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_aiagent) },
16 { MP_OBJ_NEW_QSTR(MP_QSTR_AIAgent), MP_ROM_PTR(&aiagent_type) },

Completed in 35 milliseconds

12345