Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 137) sorted by relevance

123456

/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/src/gap/
A Dsmp_common.h41 #define SMP_GEN_PAIR_FAIL_REASON(mask, reason) (mask | reason) argument
43 #define SMP_GET_PAIR_FAIL_MASK(reason) (0xF0 & reason) argument
45 #define SMP_GET_PAIR_FAIL_REASON(reason) (0x0F & reason) argument
/AliOS-Things-master/components/py_engine/tests/pyb/
A Dcan.py182 if reason == 0:
184 if reason == 1:
186 if reason == 2:
192 if reason == 0:
194 if reason == 1:
196 if reason == 2:
202 if reason == 0:
204 if reason == 1:
206 if reason == 2:
212 if reason == 0:
[all …]
/AliOS-Things-master/components/amp/libjs/init/
A Dpromise.js94 function rejectPromise(reason) { argument
95 reject(promise, reason);
150 }, function (reason) { argument
154 reject(promise, reason);
185 function reject(promise, reason) { argument
188 promise.data_ = reason;
322 Promise.reject = function (reason) { argument
326 reject(reason);
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_provisioner/
A Dmesh_provisioner.c54 static void provisioner_link_close(bt_mesh_prov_bearer_t bearer, u8_t reason, uint8_t addr_val[6], …
234 static void provisioner_link_close(bt_mesh_prov_bearer_t bearer, u8_t reason, uint8_t addr_val[6], … in provisioner_link_close() argument
236 LOGD(TAG, "Provisioner link closed on %d reason %d\n", bearer, reason); in provisioner_link_close()
240 if (BT_MESH_PROV_ADV == bearer && reason && g_mesh_prov.prov_cb) { in provisioner_link_close()
241 g_mesh_prov.prov_cb(BT_MESH_EVENT_PROV_FAILD, (void *)&reason); in provisioner_link_close()
242 …} else if (BT_MESH_PROV_GATT == bearer && (reason && LOCAL_USER_TERM_CONN != reason) && g_mesh_pro… in provisioner_link_close()
243 g_mesh_prov.prov_cb(BT_MESH_EVENT_PROV_FAILD, (void *)&reason); in provisioner_link_close()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsmodes.c376 const char *reason = "Unknown reason"; in WIN_SetDisplayMode() local
379 reason = "DISP_CHANGE_BADFLAGS"; in WIN_SetDisplayMode()
382 reason = "DISP_CHANGE_BADMODE"; in WIN_SetDisplayMode()
385 reason = "DISP_CHANGE_BADPARAM"; in WIN_SetDisplayMode()
388 reason = "DISP_CHANGE_FAILED"; in WIN_SetDisplayMode()
391 return SDL_SetError("ChangeDisplaySettingsEx() failed: %s", reason); in WIN_SetDisplayMode()
/AliOS-Things-master/components/drivers/core/base/devicevfs/src/
A Du_driver_main.c114 int reason = *(int *)param->param; in main_thread_event_cb() local
117 …ddkc_warn("eid:%d, reason:%d, closing rpc service - handle:0x%x\r\n", eid, reason, param->srpc_han… in main_thread_event_cb()
120 ddkc_info("eid:%d, reason:%d\r\n", eid, reason); in main_thread_event_cb()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/inc/
A Dprf.h144 typedef void (*prf_cleanup_fnct) (struct prf_task_env* env, uint8_t conidx, uint8_t reason);
227 void prf_cleanup(uint8_t conidx, uint8_t reason);
A Dgapm.h103 void gapm_con_cleanup(uint8_t conidx, uint16_t conhdl, uint8_t reason);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/src/l2c/l2cc/
A Dl2cc_sig.h62 void l2cc_sig_send_cmd_reject(uint8_t conidx, uint8_t pkt_id, uint16_t reason, uint16_t opt1, uint1…
/AliOS-Things-master/components/debug/src/
A Ddebug_lastword.c128 void debug_reboot_reason_update(unsigned int reason) in debug_reboot_reason_update() argument
140 panic_header_buffer.reboot_reason = reason; in debug_reboot_reason_update()
142 if ((DEBUG_REBOOT_REASON_PANIC == reason) || (DEBUG_REBOOT_REASON_FATAL_ERR == reason)) { in debug_reboot_reason_update()
A Ddebug_lastword.h34 void debug_reboot_reason_update(unsigned int reason);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/api/
A Dgapc_task.h401 uint8_t reason; member
411 uint8_t reason; member
782 uint8_t reason; member
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dpngfix.c953 const char *reason; in emit_error() local
961 case INVALID_ERROR_CODE: reason = "invalid"; break; in emit_error()
962 case READ_ERROR_CODE: reason = "read failure:"; in emit_error()
965 case WRITE_ERROR_CODE: reason = "write error"; in emit_error()
2079 const char *reason = zlib->z.msg; in zlib_message() local
2081 if (reason == NULL) in zlib_message()
2082 reason = "[no message]"; in zlib_message()
2102 const char *reason; in zlib_end() local
2105 reason = "CHK"; /* checksum error */ in zlib_end()
2111 reason = "OK "; in zlib_end()
[all …]
/AliOS-Things-master/components/SDL2/src/hidapi/
A DLICENSE-orig.txt7 This software may be used by anyone for any reason so
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/
A Dsco_api.h21 int8 sco_close_link(struct bdaddr_t *bdaddr1, uint8 reason, void *link);
A Dme_api.h1187 void btif_me_fake_tws_disconnect(uint16_t hci_handle, uint8_t reason);
1188 void btif_me_fake_mobile_disconnect(uint16_t hci_handle, uint8_t reason);
1222 bt_status_t btif_me_reject_incoming_link(btif_remote_device_t * rdev, btif_error_code_t reason);
1231 uint8_t reason, BOOL forceDisconnect);
1286 bt_status_t btif_me_stop_ibrt(uint8_t enable,uint8_t reason);
1323 …f_me_ibrt_conn_disconnected(bt_bdaddr_t *bt_addr, uint16_t conhdl, uint8_t status, uint8_t reason);
/AliOS-Things-master/components/linkkit/wifi_provision/smartconfig/
A Dawss_smartconfig.c647 int ret = -1, empty_match = 0, reason = 0; in try_to_sync_pos() local
705 reason = 3; in try_to_sync_pos()
729 reason = 1; in try_to_sync_pos()
737 reason = 2; in try_to_sync_pos()
742 reason = 4; in try_to_sync_pos()
750 reason = reason; in try_to_sync_pos()
752 match_score, max_match, reason); in try_to_sync_pos()
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_lmp.h266 uint8_t reason; member
291 uint8_t reason; member
566 uint8_t reason; member
815 uint8_t reason; member
949 uint8_t reason; member
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dprovisioner_prov.h108 void (*disconnected)(struct bt_conn *conn, u8_t reason);
200 int provisioner_pb_gatt_close(struct bt_conn *conn, u8_t reason);
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs-libc.h51 JSValueConst reason,
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dwifi_port_ref.c154 uint8_t reason = *(uint8_t *)arg; in on_wifi_disconnect() local
159 reason & 0x7F, (reason & BIT(7)) >> 7); in on_wifi_disconnect()
162 m->ev_cb->stat_chg(m, NOTIFY_WIFI_DISCONNECTED, &reason); in on_wifi_disconnect()
165 event_publish(EVENT_WIFI_DISCONNECTED, &reason); in on_wifi_disconnect()
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/
A Dconn.h440 int bt_conn_disconnect(struct bt_conn *conn, u8_t reason);
819 void (*disconnected)(struct bt_conn *conn, u8_t reason);
1285 enum bt_security_err reason);
/AliOS-Things-master/components/genie_service/core/inc/
A Dgenie_lpm.h28 typedef void (*genie_lpm_cb_t)(genie_lpm_wakeup_reason_e reason, genie_lpm_status_e status, void* a…
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dsmp_null.c66 rsp->reason = BT_SMP_ERR_PAIRING_NOTSUPP; in bt_smp_recv()
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dwifi_port.c156 uint8_t reason = *(uint8_t *)arg; in on_wifi_disconnect() local
161 reason & 0x7F, (reason & BIT(7)) >> 7); in on_wifi_disconnect()
164 m->ev_cb->stat_chg(m, NOTIFY_WIFI_DISCONNECTED, &reason); in on_wifi_disconnect()
167 event_publish(EVENT_WIFI_DISCONNECTED, &reason); in on_wifi_disconnect()

Completed in 47 milliseconds

123456