IoT SDK 资源统计


module file text data bss total
base_msgq com_mmod.c 314 0 4 318
uni_module.c 438 0 0 438
uni_msg_queue.c 1531 0 0 1531
total 2283 0 4 2287
base_event base_event.c 1397 0 28 1425
total 1397 0 28 1425
base_cli tuya_cli.c 2600 0 88 2688
total 2600 0 88 2688
app_tuya_led tuya_led.c 715 2 8 725
total 715 2 8 725
svc_netcfg_module netcfg_module.c 1302 32 5 1339
wifi_netcfg_frame_transporter.c 2690 4 4 2698
wifi_netcfg_frame_sniffer.c 1605 0 8 1613
total 5597 36 17 5650
svc_ir_control tuya_ir_ws_db.c 767 0 0 767
tuya_ir_code.c 2897 0 1 2898
tuya_ir_control.c 6764 0 38 6802
total 10428 0 39 10467
mid_coap tuya_coap_helper.c 1352 0 0 1352
coap_hashkey.c 50 0 0 50
address.c 0 0 0 0
encode.c 262 0 0 262
async.c 406 0 0 406
coap_io.c 4173 0 0 4173
coap_event.c 14 0 0 14
option.c 2520 0 0 2520
mem_coap.c 22 0 0 22
pdu.c 4102 192 0 4294
subscribe.c 157 0 0 157
resource.c 5755 8 0 5763
coap_debug.c 5017 5 107 5129
str.c 141 0 0 141
block.c 1871 0 0 1871
coap_session.c 6819 0 384 7203
uri.c 2062 0 0 2062
coap_time.c 228 0 8 236
net.c 10404 0 4 10408
coap_notls.c 148 0 28 176
total 45503 205 531 46239
svc_api_wired tuya_iot_base_api.c 826 0 0 826
total 826 0 0 826
svc_wifi_netcfg wf_nw_cfg.c 3288 5 4 3297
airkiss_bc.c 3435 0 4 3439
thing_config.c 2345 0 19 2364
ez_mc.c 1496 0 4 1500
tlink_bc.c 4060 0 4 4064
total 14624 5 35 14664
svc_dp smart_frame.c 14521 0 96 14617
sf_mqc_cb.c 282 0 0 282
total 14803 0 96 14899
base_security tuya_sha256.c 10360 0 0 10360
aes_inf.c 5702 0 2644 8346
crc32i.c 1090 0 0 1090
uni_md5.c 2358 0 0 2358
crc_8.c 288 0 0 288
crc_16.c 64 0 0 64
apr_sha1.c 3602 0 4 3606
uni_base64.c 461 4 0 465
total 23925 4 2648 26577
base_db simple_flash_protected.c 2254 0 0 2254
kv_storge.c 725 0 8 733
simple_flash_app.c 1877 0 4 1881
simple_flash.c 10840 0 0 10840
tuya_ws_db.c 2178 0 0 2178
total 17874 0 12 17886
svc_mf_test mf_test.c 1716 4 10 1730
basic_test.c 4661 0 20 4681
wifi_test.c 1249 0 0 1249
mf_test_suite.c 50 0 0 50
ota_download_test.c 1522 0 36 1558
security_chip_test.c 2 0 0 2
gpio_test.c 637 4 0 641
bt_test.c 1059 0 0 1059
cat1_test.c 0 0 0 0
ffs_test.c 4 0 0 4
mf_core.c 929 0 8 937
total 11829 8 74 11911
svc_netcfg_ffs tuya_ffs_stream.c 264 0 0 264
tuya_ffs_adapter.c 1736 4 0 1740
tuya_ffs_dss.c 5137 0 4 5141
tuya_ffs.c 4229 0 12 4241
ffs_netcfg.c 1224 0 0 1224
total 12590 4 16 12610
svc_activate direct_connect_tuya.c 1737 0 61 1798
total 1737 0 61 1798
base_log_mng uni_log.c 2523 0 4 2527
log_seq.c 3884 0 216 4100
total 6407 0 220 6627
svc_http iot_httpc.c 22627 0 4 22631
total 22627 0 4 22631
svc_pegasus pegasus_server.c 7739 0 0 7739
pegasus_frame.c 267 0 0 267
pegasus_netcfg.c 336 0 4 340
svc_pegasus.c 2361 0 12 2373
pegasus_client.c 4363 0 0 4363
pegasus_scan.c 1584 0 4 1588
total 16650 0 20 16670
svc_rpc base_rpc_com.c 3115 0 0 3115
lan_rpc.c 2653 0 4 2657
json_rpc.c 2295 0 0 2295
rpc_udp.c 3652 0 0 3652
total 11715 0 4 11719
svc_wifi_ffc ffc_frame.c 1194 4 4 1202
ffc_master.c 5985 0 0 5985
ffc_slave.c 9147 0 0 9147
ffc_app.c 1415 140 1 1556
ffc_slaver_fittings.c 1525 0 8 1533
ffc_slaver_scene.c 2341 0 124 2465
total 21607 144 137 21888
svc_ap_netcfg ap_netcfg.c 3687 0 118 3805
total 3687 0 118 3805
base_wifi_intf ty_wifi_mgnt.c 2249 4 12 2265
wf_basic_intf.c 2144 0 32 2176
total 4393 4 44 4441
svc_bt tuya_ble_mutli_tsf_protocol.c 1618 2 1 1621
bt_netcfg.c 713 0 136 849
bt_dp.c 2246 0 12 2258
tuya_xxtea.c 540 0 0 540
tuya_bt_sdk.c 1097 0 56 1153
tuya_ble_api.c 4263 9 194 4466
tuya_ble_data_handler.c 3206 4 59 3269
device_id_compress.c 284 0 0 284
tuya_ble_rmt_ctrl.c 11064 8 82 11154
tuya_ble_cryption_api.c 1305 0 224 1529
tuya_ble_active.c 2787 0 18 2805
tuya_ble_timer_task.c 0 0 0 0
total 29123 23 782 29928
svc_user_netcfg user_netcfg.c 205 0 4 209
total 205 0 4 209
svc_mqtt mqc_app.c 7662 0 488 8150
total 7662 0 488 8150
svc_api_iot tuya_iot_dev_check.c 2250 0 0 2250
tuya_iot_com_api.c 4572 0 8 4580
tuya_iot_internal_api.c 905 0 0 905
tuya_iot_api_pre_handle.c 102 0 4 106
total 7829 0 12 7841
mid_tls tuya_tls.c 4177 0 68 4245
version.c 0 0 0 0
ecdsa.c 0 0 0 0
pk.c 0 0 0 0
ssl_ticket.c 0 0 0 0
hmac_drbg.c 0 0 0 0
aes.c 0 0 0 0
x509_crl.c 0 0 0 0
ssl_cookie.c 0 0 0 0
hkdf.c 0 0 0 0
xtea.c 0 0 0 0
asn1write.c 0 0 0 0
sha256.c 3316 0 0 3316
md2.c 0 0 0 0
gcm.c 0 0 0 0
rsa.c 0 0 0 0
ecdh.c 0 0 0 0
sha512.c 0 0 0 0
net_sockets.c 0 0 0 0
threading.c 0 0 0 0
base64.c 0 0 0 0
platform.c 58 8 0 66
des.c 0 0 0 0
version_features.c 0 0 0 0
ecp_curves.c 1456 4 0 1460
entropy.c 0 0 0 0
havege.c 0 0 0 0
ssl_ciphersuites.c 1507 0 36 1543
entropy_poll.c 0 0 0 0
poly1305.c 0 0 0 0
md_wrap.c 481 0 0 481
x509_create.c 0 0 0 0
chachapoly.c 0 0 0 0
chacha20.c 0 0 0 0
pk_wrap.c 0 0 0 0
rsa_internal.c 0 0 0 0
certs.c 0 0 0 0
padlock.c 0 0 0 0
cipher_wrap.c 628 0 0 628
ssl_srv.c 0 0 0 0
ripemd160.c 0 0 0 0
pkwrite.c 0 0 0 0
aesni.c 0 0 0 0
x509.c 0 0 0 0
md4.c 0 0 0 0
ecjpake.c 0 0 0 0
md5.c 2956 0 0 2956
cmac.c 0 0 0 0
ccm.c 1046 0 0 1046
oid.c 0 0 0 0
pem.c 0 0 0 0
pkcs5.c 0 0 0 0
x509write_crt.c 0 0 0 0
ctr_drbg.c 0 0 0 0
ssl_tls.c 8557 15 0 8572
pkcs11.c 0 0 0 0
md.c 1061 0 0 1061
aria.c 0 0 0 0
ssl_cli.c 1946 0 0 1946
ssl_cache.c 0 0 0 0
asn1parse.c 0 0 0 0
cipher.c 1800 0 4 1804
blowfish.c 0 0 0 0
ecp.c 6590 0 6 6596
x509_csr.c 0 0 0 0
dhm.c 0 0 0 0
sha1.c 4834 0 0 4834
x509write_csr.c 0 0 0 0
arc4.c 0 0 0 0
nist_kw.c 0 0 0 0
error.c 0 0 0 0
memory_buffer_alloc.c 0 0 0 0
camellia.c 0 0 0 0
bignum.c 7975 0 0 7975
pkcs12.c 0 0 0 0
platform_util.c 20 4 0 24
pkparse.c 0 0 0 0
debug.c 0 0 0 0
timing.c 0 0 0 0
x509_crt.c 0 0 0 0
total 48408 31 114 48553
svc_upgrade tuya_svc_upgrade.c 4987 0 48 5035
tuya_svc_schema_upgrade.c 1969 0 48 2017
tuya_svc_upgrade_http.c 1150 0 0 1150
total 8106 0 96 8202
base_workq uni_work_queue.c 610 0 0 610
ty_work_queue.c 602 0 4 606
total 1212 0 4 1216
svc_timer_task tuya_svc_timer_task.c 7135 0 44 7179
total 7135 0 44 7179
mid_mqtt mqtt_client.c 8645 0 0 8645
libemqtt.c 2690 0 0 2690
total 11335 0 0 11335
svc_online_log svc_online_log_db.c 91 0 0 91
svc_online_log_mqtt.c 284 0 0 284
svc_online_log.c 2921 4 192 3117
tuya_svc_online_log.c 147 0 0 147
svc_online_log_http.c 35 0 0 35
total 3478 4 192 3674
base_utilities uni_thread.c 1496 0 16 1512
uni_rfc.c 210 0 0 210
uni_random.c 103 0 0 103
uni_pointer.c 78 0 0 78
ty_cJSON.c 4595 0 4 4599
uni_fs.c 417 0 0 417
mem_pool.c 1544 32 4 1580
uni_network.c 2502 0 144 2646
mix_method.c 932 0 1 933
hashmap.c 1628 0 0 1628
uni_time.c 3905 116 88 4109
uni_queue.c 650 0 0 650
tuya_base_utilities.c 203 0 4 207
total 18263 148 261 18672
svc_devos gw_mqc_cb.c 1087 0 0 1087
tuya_devos_entry.c 7711 8 3401 11120
ws_db_gw.c 6995 0 0 6995
tuya_devos_utils.c 3804 0 54 3858
tuya_devos.c 311 0 4 315
wf_protect.c 0 0 0 0
ws_db_ap.c 0 0 0 0
tuya_devos_health.c 1771 0 4 1775
tuya_devos_netlink.c 2625 0 21 2646
tuya_devos_reset.c 1677 0 4 1681
tuya_devos_netcfg.c 5693 5 40 5738
tuya_devos_activate.c 3202 0 31 3233
total 34876 13 3559 38448
svc_astro_timer astro_timer.c 4675 0 4 4679
total 4675 0 4 4679
svc_api_wifi tuya_iot_wifi_api.c 1472 1 1 1474
total 1472 1 1 1474
base_timeq async_notify.c 399 0 0 399
sys_timer.c 1033 4 12 1049
uni_time_queue.c 1171 0 0 1171
total 2603 4 12 2619
svc_lan app_agent.c 12318 36 36 12390
ak_lan_protocol.c 932 0 10 942
total 13250 36 46 13332
app_tuya_key tuya_key.c 1463 4 16 1483
total 1463 4 16 1483
base_uf uf_flash_file.c 5026 0 0 5026
uf_flash_file_app.c 1628 0 4 1632
uf_file.c 724 0 4 728
tuya_uf_db.c 663 0 0 663
total 8041 0 8 8049
base_os_adapter tuya_hal_storage.c 244 0 4 248
tuya_hal_output.c 108 0 4 112
tuya_hal_queue.c 140 0 4 144
tuya_hal_semaphore.c 180 0 4 184
tuya_hal_ota.c 124 0 4 128
tuya_hal_fs.c 660 0 4 664
tuya_hal_cellular.c 444 0 4 448
tuya_hal_network.c 1168 0 4 1172
tuya_hal_mutex.c 148 0 4 152
tuya_hal_wifi.c 852 0 4 856
base_os_adapter.c 84 0 4 88
tuya_hal_wired.c 292 0 4 296
tuya_hal_memory.c 128 0 4 132
tuya_hal_thread.c 188 0 4 192
tuya_hal_bt.c 792 0 4 796
tuya_hal_system.c 368 0 4 372
tuya_os_adapter.c 60 0 68 128
tuya_hal_ble_mesh_prov.c 312 0 4 316
total 6292 0 136 6428
os_driver_framework tuya_i2s.c 372 0 0 372
tuya_adc.c 292 0 0 292
tuya_uart.c 1774 0 0 1774
tuya_pin.c 603 0 12 615
tuya_i2c.c 294 0 0 294
tuya_rtc.c 283 0 12 295
tuya_timer.c 276 0 0 276
tuya_pwm.c 552 0 0 552
tuya_legacy.c 528 0 8 536
tuya_driver.c 68 0 4 72
tuya_spi.c 484 0 0 484
tuya_sw_i2c.c 1292 16 0 1308
total 6818 16 36 6870
mid_http http_inf.c 1903 0 0 1903
httpc.c 10567 9 32 10608
http_manager.c 1423 0 92 1515
total 13893 9 124 14026
svc_protocol com_protocol.c 4158 0 0 4158
total 4158 0 0 4158
base_wired_intf base_nw_intf.c 74 0 0 74
total 494188 701 10143 505032
total 494188 701 10143 505032