pvvx
Активный участник сообщества
extern u32 blt_ota_start_tick;
ble_sdk_multimode\stack\ble\service\ble_ll_ota.h
u32 ota_start_tick;
struct ota_client_t;
blotaClt.ota_start_tick = clock_time() | 1;
b85m_ble_sdk\vendor\b85m_feature\feature_ota\app_ota_client.c
....
Telink B85m BLE Single Connection SDK Development Handbook:
blotaSvr.process_timeout_us = 30 * 1000000; //default 30s
blotaSvr.packet_timeout_us = 5 * 1000000; //default 5s
After initializing the variable, the user can call the following timeout function to perform the timeout process.
void blt_ota_procTimeout(void);....
ble_sdk_multimode\stack\ble\service\ble_ll_ota.h
u32 ota_start_tick;
struct ota_client_t;
blotaClt.ota_start_tick = clock_time() | 1;
b85m_ble_sdk\vendor\b85m_feature\feature_ota\app_ota_client.c
....
Telink B85m BLE Single Connection SDK Development Handbook:
blotaSvr.process_timeout_us = 30 * 1000000; //default 30s
blotaSvr.packet_timeout_us = 5 * 1000000; //default 5s
After initializing the variable, the user can call the following timeout function to perform the timeout process.
void blt_ota_procTimeout(void);....