/nrf52832-nimble/packages/NimBLE-latest/nimble/host/pts/ |
H A D | pts-gatt.txt | 16 b mtu conn=<handle> 17 b write conn=<handle> long=1 attr=<val_handle> value=<xx:...> 18 b term conn=<handle> 22 b disc svc conn=<handle> 25 b term conn=<handle> 28 b disc svc conn=<handle> uuid=<uuid> 31 b term conn=<handle> 34 b find inc_svcs conn=<handle> start=1 end=0xffff 36 b term conn=<handle> 39 b disc svc conn=<handle> uuid=<uuid> [all …]
|
H A D | pts-gap.txt | 75 b disc svc conn=<handle> 77 <check start end handle for 0x1800> 78 b read conn=<handle> uuid=0x2a00 start=<start> end=<end> 79 b term conn=<handle> 109 b term conn=<handle> 112 b term conn=<handle> 114 b term conn=<handle> 119 b term conn=<handle> 122 b term conn=<handle> 125 b term conn=<handle> [all …]
|
H A D | pts-sm.txt | 18 b sec pair conn=<handle> 23 b sec pair conn=<handle> 24 b term conn=<handle> 27 b sec pair conn=<handle> 29 b sec pair conn=<handle> 34 b sec pair conn=<handle> 35 b passkey conn=<handle> action=3 key=123456 39 b sec pair conn=<handle> 42 b sec pair conn=<handle> 43 b passkey conn=<handle> action=3 key=123456 [all …]
|
/nrf52832-nimble/rt-thread/components/dfs/filesystems/nfs/ |
H A D | dfs_nfs.c | 30 nfs_fh3 handle; /* handle */ member 39 nfs_fh3 handle; member 131 nfs_fh3 *handle = NULL; in get_handle() local 142 handle = rt_malloc(sizeof(nfs_fh3)); in get_handle() 143 if (handle == NULL) in get_handle() 153 copy_handle(handle, &nfs->root_handle); in get_handle() 157 copy_handle(handle, &nfs->current_handle); in get_handle() 165 copy_handle(&args.what.dir, handle); in get_handle() 166 xdr_free((xdrproc_t)xdr_nfs_fh3, (char *)handle); in get_handle() 173 rt_free(handle); in get_handle() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/ |
H A D | ble_gatt_read_test.c | 31 uint16_t handle; member 90 dst->handle = attr->handle; in ble_gatt_read_test_cb() 141 dst->handle = attr->handle; in ble_gatt_read_test_long_cb() 144 TEST_ASSERT(attr->handle == dst->handle); in ble_gatt_read_test_long_cb() 212 if (ble_gatt_read_test_complete || attrs[0].handle == 0) { in ble_gatt_read_test_misc_uuid_rx_rsp_good() 223 for (i = 0; attrs[i].handle != 0; i++) { in ble_gatt_read_test_misc_uuid_rx_rsp_good() 229 put_le16(buf + off, attrs[i].handle); in ble_gatt_read_test_misc_uuid_rx_rsp_good() 255 rc = ble_gattc_read(2, attr->handle, ble_gatt_read_test_cb, NULL); in ble_gatt_read_test_misc_verify_good() 262 TEST_ASSERT(ble_gatt_read_test_attrs[0].handle == attr->handle); in ble_gatt_read_test_misc_verify_good() 278 rc = ble_gattc_read(2, attr->handle, ble_gatt_read_test_cb, NULL); in ble_gatt_read_test_misc_verify_bad() [all …]
|
H A D | ble_att_svr_test.c | 70 * @return The handle of the new test connection. 235 uint16_t handle; in ble_att_svr_test_misc_register_uuid() local 238 rc = ble_att_svr_register(uuid, flags, 0, &handle, fn, NULL); in ble_att_svr_test_misc_register_uuid() 240 TEST_ASSERT_FATAL(handle == expected_handle); in ble_att_svr_test_misc_register_uuid() 459 handles[i] = attrs[i].handle; in ble_att_svr_test_misc_verify_all_read_mult() 533 uint16_t handle; /* 0 on last entry */ member 546 uint16_t handle; in ble_att_svr_test_misc_verify_tx_read_type_rsp() local 557 for (entry = entries; entry->handle != 0; entry++) { in ble_att_svr_test_misc_verify_tx_read_type_rsp() 561 rc = os_mbuf_copydata(om, off, 2, &handle); in ble_att_svr_test_misc_verify_tx_read_type_rsp() 563 handle = get_le16(&handle); in ble_att_svr_test_misc_verify_tx_read_type_rsp() [all …]
|
H A D | ble_gatt_write_test.c | 69 TEST_ASSERT(attr->handle == 100); in ble_gatt_write_test_cb_good() 310 for (num_attrs = 0; flat_attrs[num_attrs].handle != 0; num_attrs++) { in ble_gatt_write_test_misc_reliable_good() 335 ble_hs_test_util_verify_tx_prep_write(attr->handle, off, in ble_gatt_write_test_misc_reliable_good() 339 ble_gatt_write_test_rx_prep_rsp(2, attr->handle, off, in ble_gatt_write_test_misc_reliable_good() 506 .handle = 100, in TEST_CASE() 516 .handle = 100, in TEST_CASE() 520 .handle = 113, in TEST_CASE() 530 .handle = 100, in TEST_CASE() 534 .handle = 113, in TEST_CASE() 538 .handle = 144, in TEST_CASE() [all …]
|
H A D | ble_att_clt_test.c | 28 * @return The handle of the new test connection. 62 ble_att_clt_test_tx_write_req_or_cmd(uint16_t conn_handle, uint16_t handle, in ble_att_clt_test_tx_write_req_or_cmd() argument 70 rc = ble_att_clt_tx_write_req(conn_handle, handle, om); in ble_att_clt_test_tx_write_req_or_cmd() 72 rc = ble_att_clt_tx_write_cmd(conn_handle, handle, om); in ble_att_clt_test_tx_write_req_or_cmd() 88 /*** Error: start handle of 0. */ in TEST_CASE() 92 /*** Error: start handle greater than end handle. */ in TEST_CASE() 189 ble_att_clt_test_misc_prep_good(uint16_t handle, uint16_t offset, in ble_att_clt_test_misc_prep_good() argument 201 rc = ble_att_clt_tx_prep_write(conn_handle, handle, offset, om); in ble_att_clt_test_misc_prep_good() 209 TEST_ASSERT(req.bapc_handle == handle); in ble_att_clt_test_misc_prep_good() 239 ble_att_clt_test_misc_prep_bad(uint16_t handle, uint16_t offset, in ble_att_clt_test_misc_prep_bad() argument [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/freertos/src/ |
H A D | npl_os_freertos.c | 95 * better use counting semaphore with os_queue to handle this in future. in npl_freertos_eventq_remove() 146 mu->handle = xSemaphoreCreateRecursiveMutex(); in npl_freertos_mutex_init() 147 assert(mu->handle); in npl_freertos_mutex_init() 161 assert(mu->handle); in npl_freertos_mutex_pend() 167 ret = xSemaphoreTakeRecursive(mu->handle, timeout); in npl_freertos_mutex_pend() 180 assert(mu->handle); in npl_freertos_mutex_release() 185 if (xSemaphoreGiveRecursive(mu->handle) != pdPASS) { in npl_freertos_mutex_release() 200 sem->handle = xSemaphoreCreateCounting(128, tokens); in npl_freertos_sem_init() 201 assert(sem->handle); in npl_freertos_sem_init() 216 assert(sem->handle); in npl_freertos_sem_pend() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/rtthread/src/ |
H A D | npl_os_rtthread.c | 135 mu->handle = rt_mutex_create("mutx", RT_IPC_FLAG_FIFO); in ble_npl_mutex_init() 136 RT_ASSERT(mu->handle); in ble_npl_mutex_init() 150 RT_ASSERT(mu->handle); in ble_npl_mutex_pend() 152 ret = rt_mutex_take((struct rt_mutex *)mu->handle, timeout); in ble_npl_mutex_pend() 166 RT_ASSERT(mu->handle); in ble_npl_mutex_release() 168 ret = rt_mutex_release((struct rt_mutex *)mu->handle); in ble_npl_mutex_release() 180 sem->handle = rt_sem_create("npl_sem", tokens, RT_IPC_FLAG_FIFO); in ble_npl_sem_init() 181 RT_ASSERT(sem->handle); in ble_npl_sem_init() 195 RT_ASSERT(sem->handle); in ble_npl_sem_pend() 197 ret = rt_sem_take((struct rt_semaphore *)sem->handle, timeout); in ble_npl_sem_pend() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/ |
H A D | ble_gatt.h | 95 uint16_t handle; member 108 uint16_t handle; member 199 * @param start_handle The handle to begin the search at (generally 200 * the service definition handle). 201 * @param end_handle The handle to end the search at (generally the 202 * last handle in the service). 219 * @param start_handle The handle to begin the search at (generally 220 * the service definition handle). 221 * @param end_handle The handle to end the search at (generally the 222 * last handle in the service). [all …]
|
H A D | ble_gap.h | 206 /** Connection handle */ 310 /** The handle of the relevant connection. */ 359 /** The handle of the relevant connection. */ 430 /** The handle of the relevant connection - valid if reason=0 */ 460 /** The handle of the relevant connection. */ 493 /** The handle of the relevant connection. */ 508 /** The handle of the relevant connection. */ 529 /** The handle of the relevant connection. */ 543 /** The handle of the relevant connection. */ 561 /** The handle of the relevant ATT attribute. */ [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/ |
H A D | ble_ll_conn_hci.c | 297 /* Add handle and complete packets */ in ble_ll_conn_num_comp_pkts_event_send() 755 hcu->handle = connsm->conn_handle; in ble_ll_conn_process_conn_params() 771 hcu->handle = 0; in ble_ll_conn_process_conn_params() 787 uint16_t handle; in ble_ll_conn_hci_read_rem_features() local 790 /* If no connection handle exit with error */ in ble_ll_conn_hci_read_rem_features() 791 handle = get_le16(cmdbuf); in ble_ll_conn_hci_read_rem_features() 792 connsm = ble_ll_conn_find_active_conn(handle); in ble_ll_conn_hci_read_rem_features() 833 uint16_t handle; in ble_ll_conn_hci_update() local 846 /* If no connection handle exit with error */ in ble_ll_conn_hci_update() 847 handle = get_le16(cmdbuf); in ble_ll_conn_hci_update() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_hs_dbg.c | 46 BLE_HS_LOG(DEBUG, "LE connection complete. handle=%u role=%u " in ble_hs_dbg_le_event_disp() 101 BLE_HS_LOG(DEBUG, "LE Connection Update Complete. handle=%u " in ble_hs_dbg_le_event_disp() 112 BLE_HS_LOG(DEBUG, "LE Data Length Change. handle=%u max_tx_bytes=%u " in ble_hs_dbg_le_event_disp() 119 BLE_HS_LOG(DEBUG, "LE Remote Connection Parameter Request. handle=%u " in ble_hs_dbg_le_event_disp() 129 BLE_HS_LOG(DEBUG, "LE Remote Used Features. handle=%u feat=", in ble_hs_dbg_le_event_disp() 142 BLE_HS_LOG(DEBUG, "LE LTK Req. handle=%u rand=%lx%lx encdiv=%u\n", in ble_hs_dbg_le_event_disp() 148 BLE_HS_LOG(DEBUG, "PHY update. handle=%u tx=%u rx=%u\n", in ble_hs_dbg_le_event_disp() 239 "len=%u status=0x%02x handle=0x%04x", len, data->status, in ble_hs_dbg_le_event_disp() 255 "len=%u handle=0x%04x data_status=0x%02x data_len=0x%02x", in ble_hs_dbg_le_event_disp() 272 "len=%u handle=0x%04x", len, le16toh(data->sync_handle)); in ble_hs_dbg_le_event_disp() [all …]
|
H A D | ble_gatts_lcl.c | 99 uint16_t handle, char *uuid_buf, char *flags_buf) in ble_gatt_show_local_chr() argument 110 "%d\n", " ", "def_handle", handle); in ble_gatt_show_local_chr() 112 "%d\n", " ", "val_handle", handle+1); in ble_gatt_show_local_chr() 119 handle += 2; in ble_gatt_show_local_chr() 126 "%d\n", " ", "handle", handle); in ble_gatt_show_local_chr() 133 handle++; in ble_gatt_show_local_chr() 140 uint16_t handle, uint16_t end_group_handle) in ble_gatt_show_local_svc() argument 152 "%d\n", " ", "handle", in ble_gatt_show_local_svc() 153 handle); in ble_gatt_show_local_svc() 157 ble_gatt_show_local_chr(svc, handle+1, in ble_gatt_show_local_svc()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/ |
H A D | tftp_server.h | 61 * @returns File handle supplied to other functions 65 * Close file handle 66 * @param handle File handle returned by open() 68 void (*close)(void* handle); 71 * @param handle File handle returned by open() 76 int (*read)(void* handle, void* buf, int bytes); 79 * @param handle File handle returned by open() 85 int (*write)(void* handle, struct pbuf* p);
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/ |
H A D | tftp_server.h | 61 * @returns File handle supplied to other functions 65 * Close file handle 66 * @param handle File handle returned by open() 68 void (*close)(void* handle); 71 * @param handle File handle returned by open() 76 int (*read)(void* handle, void* buf, int bytes); 79 * @param handle File handle returned by open() 85 int (*write)(void* handle, struct pbuf* p);
|
/nrf52832-nimble/packages/NimBLE-latest/apps/bletest/src/ |
H A D | bletest_priv.h | 27 void bletest_send_conn_update(uint16_t handle); 30 void bletest_ltk_req_reply(uint16_t handle); 31 int bletest_send_ltk_req_neg_reply(uint16_t handle); 32 int bletest_send_ltk_req_reply(uint16_t handle); 39 int bletest_hci_le_set_datalen(uint16_t handle, uint16_t txoctets, 48 int bletest_hci_le_read_rem_used_feat(uint16_t handle); 50 int bletest_hci_rd_rem_version(uint16_t handle); 52 int bletest_hci_le_rd_chanmap(uint16_t handle);
|
H A D | bletest_hci.c | 38 bletest_send_conn_update(uint16_t handle) in bletest_send_conn_update() argument 47 hcu.handle = handle; in bletest_send_conn_update() 57 bletest_ltk_req_reply(uint16_t handle) in bletest_ltk_req_reply() argument 59 g_bletest_ltk_reply_handle |= (1 << (handle-1)); in bletest_ltk_req_reply() 63 bletest_send_ltk_req_neg_reply(uint16_t handle) in bletest_send_ltk_req_neg_reply() argument 70 put_le16(buf, handle); in bletest_send_ltk_req_neg_reply() 85 bletest_send_ltk_req_reply(uint16_t handle) in bletest_send_ltk_req_reply() argument 93 hkr.conn_handle = handle; in bletest_send_ltk_req_reply() 108 if (le16toh(ack_conn_handle) != handle) { in bletest_send_ltk_req_reply() 170 bletest_hci_le_set_datalen(uint16_t handle, uint16_t txoctets, uint16_t txtime) in bletest_hci_le_set_datalen() argument [all …]
|
/nrf52832-nimble/rt-thread/components/libc/compilers/dlib/ |
H A D | syscall_close.c | 17 int __close(int handle) in __close() argument 19 if (handle == _LLIO_STDOUT || in __close() 20 handle == _LLIO_STDERR || in __close() 21 handle == _LLIO_STDIN) in __close() 25 return close(handle); in __close()
|
H A D | syscall_lseek.c | 17 long __lseek(int handle, long offset, int whence) in __lseek() argument 19 if (handle == _LLIO_STDOUT || in __lseek() 20 handle == _LLIO_STDERR || in __lseek() 21 handle == _LLIO_STDIN) in __lseek() 25 return lseek(handle, offset, whence); in __lseek()
|
H A D | syscall_read.c | 19 size_t __read(int handle, unsigned char *buf, size_t len) in __read() argument 25 if (handle == _LLIO_STDIN) in __read() 34 if ((handle == _LLIO_STDOUT) || (handle == _LLIO_STDERR)) in __read() 40 size = read(handle, buf, len); in __read()
|
H A D | syscall_write.c | 20 size_t __write(int handle, const unsigned char *buf, size_t len) in __write() argument 26 if ((handle == _LLIO_STDOUT) || (handle == _LLIO_STDERR)) in __write() 45 if (handle == _LLIO_STDIN) return _LLIO_ERROR; in __write() 50 size = write(handle, buf, len); in __write()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/tftp/ |
H A D | tftp_server.c | 81 void *handle; member 110 if (tftp_state.handle) { in close_handle() 111 tftp_state.ctx->close(tftp_state.handle); in close_handle() 112 tftp_state.handle = NULL; in close_handle() 192 ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE); in send_data() 233 if (tftp_state.handle != NULL) { in recv() 256 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ)); in recv() 259 if (!tftp_state.handle) { in recv() 286 if (tftp_state.handle == NULL) { in recv() 300 ret = tftp_state.ctx->write(tftp_state.handle, p); in recv() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/tftp/ |
H A D | tftp_server.c | 81 void *handle; member 110 if (tftp_state.handle) { in close_handle() 111 tftp_state.ctx->close(tftp_state.handle); in close_handle() 112 tftp_state.handle = NULL; in close_handle() 192 ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE); in send_data() 234 if(tftp_state.handle != NULL) { in recv() 257 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ)); in recv() 260 if (!tftp_state.handle) { in recv() 288 if (tftp_state.handle == NULL) { in recv() 301 ret = tftp_state.ctx->write(tftp_state.handle, p); in recv() [all …]
|