|
SDK สำหรับ TESAIoT Dev Kit
คู่มืออ้างอิง API และ Tutorial (ModusToolbox)
|
Go to the source code of this file.
Functions | |
| void | lfs_wifi_creds_init (void) |
| บน variant นี้เป็น no-op — bento_storage_init() เป็นเจ้าของการเริ่มต้นใช้งาน | |
| void | lfs_wifi_creds_deinit (void) |
| บน variant นี้เป็น no-op; ลำดับการ teardown ของ mtb-mpy ไม่นำมาใช้ที่นี่ | |
| bool | lfs_wifi_creds_ready (void) |
| ส่งต่อไปยัง bento_storage_ready(); ตรวจก่อนการอ่านและการเขียนทุกครั้ง | |
| int | lfs_wifi_creds_read (qspi_wifi_entry_t *entries, int max_entries) |
| เติมอาร์เรย์ของผู้เรียก; คืนค่าจำนวนรายการ และคืน 0 เมื่อการตรวจความถูกต้องล้มเหลวไม่ว่ากรณีใด | |
| bool | lfs_wifi_creds_write (const qspi_wifi_entry_t *entries, int count) |
| เขียนทับ /.wifi_creds ด้วย CRC32; ทำ snapshot ภายใต้ lock แล้วเขียนนอก lock | |
| bool | lfs_wifi_creds_needs_resave (void) |
| บน variant นี้เป็น false เสมอ — ที่เก็บฝั่ง C เขียนเฉพาะรูปแบบปัจจุบันเท่านั้น | |