Home
last modified time | relevance | path

Searched full:hci (Results 1 – 25 of 62) sorted by relevance

123

/nrf52832-nimble/packages/NimBLE-latest/porting/npl/dummy/src/
H A Dhci_dummy.c30 /* HCI packet types */
36 /* Buffers for HCI commands data */
40 /* Buffers for HCI events data */
50 /* Buffers for HCI ACL data */
66 /* Called by NimBLE host to reset HCI transport state (i.e. on host reset) */
73 /* Called by NimBLE host to setup callbacks from HCI transport */
85 * Called by NimBLE host to allocate buffer for HCI Command packet.
86 * Called by HCI transport to allocate buffer for HCI Event packet.
117 * Called by NimBLE host to free buffer allocated for HCI Event packet.
118 * Called by HCI transport to free buffer allocated for HCI Command packet.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/uart/
H A Dsyscfg.yml34 This is the maximum size of the data portion of HCI ACL data
35 packets. It does not include the HCI data header (of 4 bytes).
42 only HCI, this number should be equal to the number of mbufs in
49 description: 'The uart to use for the HCI uart interface'
52 description: 'The baud rate of the HCI uart interface'
55 description: 'Number of data bits used for HCI uart interface'
58 description: 'Number of stop bits used for HCI uart interface'
61 description: 'Parity used for HCI uart interface'
64 description: 'Flow control used for HCI uart interface'
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/
H A Dble_hci_trans.h53 * HCI flow control is added, event priorities may become obsolete.
65 /** Callback function types; executed when HCI packets are received. */
70 * Sends an HCI event from the controller to the host.
72 * @param cmd The HCI event to send. This buffer must be
91 * Sends an HCI command from the host to the controller.
93 * @param cmd The HCI command to send. This buffer must be
144 * Configures the HCI transport to operate with a controller. The transport
145 * will execute specified callbacks upon receiving HCI packets from the host.
147 * @param cmd_cb The callback to execute upon receiving an HCI
162 * Configures the HCI transport to operate with a host. The transport will
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/
H A Dsyscfg.yml22 Enables HCI transport for built-in NimBLE controller.
23 This is virtually the same as enabling RAM HCI transport and
27 description: Enables EM SPI HCI transport package
30 description: Enables RAM HCI transport package
33 description: Enables socket HCI transport package
36 description: Enables UART HCI transport package
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/src/
H A Dble_hci_socket.c21 * Provides HCI transport over sockets. Either over
90 * The UART HCI transport doesn't use event buffer priorities. All incoming
94 * the command or acl packets are simply skipped so that the HCI interface
134 * the command or acl packets are simply skipped so that the HCI interface
179 * The MBUF payload size must accommodate the HCI data header size plus the
536 * HCI User Channel requires exclusive access to the device. in ble_hci_sock_config()
570 * Sends an HCI event from the controller to the host.
572 * @param cmd The HCI event to send. This buffer must be
599 * Sends an HCI command from the host to the controller.
601 * @param cmd The HCI command to send. This buffer must be
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/uart/src/
H A Dble_hci_uart.c47 * The UART HCI transport doesn't use event buffer priorities. All incoming
51 * the command or acl packets are simply skipped so that the HCI interface
66 * the command or acl packets are simply skipped so that the HCI interface
107 * The MBUF payload size must accommodate the HCI data header size plus the
392 * HCI uart sync lost.
465 * If we receive an unknown HCI packet type this is considered a loss in ble_hci_uart_rx_pkt_type()
484 * HCI uart sync loss.
488 * 0x01 HCI Packet Type = HCI CMD
582 * should not happen but at least we retain HCI synch. The host in ble_hci_uart_rx_skip_cmd()
867 * Sends an HCI event from the controller to the host.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/
H A Dsyscfg.yml34 This is the maximum size of the data portion of HCI ACL data
35 packets. It does not include the HCI data header (of 4 bytes).
42 only HCI, this number should be equal to the number of mbufs in
65 description: 'Priority of the HCI socket task.'
70 description: 'Size of the HCI socket stack (units=words).'
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/emspi/
H A Dsyscfg.yml21 description: 'Indicates that the emspi host HCI transport is present.'
49 This is the maximum size of the data portion of HCI ACL data
50 packets. It does not include the HCI data header (of 4 bytes).
57 only HCI, this number should be equal to the number of mbufs in
64 description: The index of the SPI device to use for HCI.
H A Dpkg.yml21 pkg.description: "HCI transport using EM's HCI SPI protocol."
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/src/
H A Dble_ll_hci.c71 * ll hci get num cmd pkts
278 * ll hci set le event mask
282 * Context: Link Layer task (HCI command parser)
297 * HCI read buffer size command. Returns the ACL data packet length and
396 * HCI write suggested default data length command.
445 * HCI read suggested default data length command. Returns the controllers
464 * HCI read maximum data length command. Returns the controllers max supported
486 * HCI read local supported features command. Returns the features
506 * HCI read local supported states command. Returns the states
621 /** HCI LE read maximum advertising data length command. Returns the controllers
[all …]
H A Dble_ll_conn_hci.c185 * and was resolved since RPA needs to be added to HCI event. in ble_ll_conn_comp_event_send()
399 * Process the HCI command to create a connection.
401 * Context: Link Layer task (HCI command processing)
1007 * Called when HCI command to cancel a create connection command has been
1010 * Context: Link Layer (HCI command parser)
1045 * Called to process a HCI disconnect command
1047 * Context: Link Layer task (HCI command parser).
1106 * Called to process a HCI disconnect command
1108 * Context: Link Layer task (HCI command parser).
1231 * The HCI command states that the host is allowed to mask in just one in ble_ll_conn_hci_set_chan_class()
H A Dble_ll.c462 * Called from the HCI command parser when the set random address command
465 * Context: Link Layer task (HCI command parser)
642 /* Strip HCI ACL header to get handle and length */ in ble_ll_tx_pkt_in()
1242 * the HCI interface.
1244 * Context: Link Layer task (HCI command)
1288 /* All this does is re-initialize the event masks so call the hci init */ in ble_ll_reset()
1498 /* Initialize LL HCI */ in ble_ll_init()
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/include/controller/
H A Dble_phy.h192 * These are numbered in a specific order to save code. The HCI definitions for
194 * they need to be translated from the HCI number to either 0 or 3. This
195 * was done in order to save code when translating between the HCI phy value
206 /* PHY numbers (compatible with HCI) */
211 /* PHY bitmasks (compatible with HCI) */
231 * to 1M, 2M and Coded in HCI. The only conversion is needed for Coded(S=8) in ble_ll_phy_to_phy_mode()
232 * which uses non-HCI value. in ble_ll_phy_to_phy_mode()
H A Dble_ll_hci.h42 /* Initialize LL HCI */
60 /* Returns true if Extended Advertising HCI commands are in use */
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/emspi/src/
H A Dble_hci_emspi.c46 * The emspi HCI transport doesn't use event buffer priorities. All incoming
101 * The MBUF payload size must accommodate the HCI data header size plus the
650 * Sends an HCI command from the host to the controller.
652 * @param cmd The HCI command to send. This buffer must be
685 * Configures the HCI transport to call the specified callback upon receiving
686 * HCI packets from the controller. This function should only be called by by
689 * @param cmd_cb The callback to execute upon receiving an HCI
708 * Configures the HCI transport to operate with a host. The transport will
709 * execute specified callbacks upon receiving HCI packets from the controller.
711 * @param cmd_cb The callback to execute upon receiving an HCI
[all …]
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/include/host/
H A Dble_hs_hci.h24 * @brief Bluetooth Host HCI utils
25 * @defgroup bt_host_hci Bluetooth Host HCI utils
58 * A BLE host HCI return code if the controller
83 * A BLE host HCI return code if the controller
H A Dble_hs.h105 /** Error base for HCI errors */
108 /** Converts error to HCI base */
311 * Synchronizes the host with the controller by sending a sequence of HCI
/nrf52832-nimble/packages/NimBLE-latest/
H A DREADME.md92 │ └───transport /* HCI 传输抽象层 */
130 HCI Transport support ----
146 **HCI Transport support** : 配置HCI层传输方式
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/ram/
H A Dsyscfg.yml38 This is the maximum size of the data portion of HCI ACL data
39 packets. It does not include the HCI data header (of 4 bytes).
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/test/src/
H A Dble_os_test.c147 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in ble_gap_direct_connect_test_task_handler()
151 /* Receive an HCI connection-complete event. */ in ble_gap_direct_connect_test_task_handler()
311 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in ble_gap_terminate_test_task_handler()
325 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in ble_gap_terminate_test_task_handler()
H A Dble_hs_conn_test.c62 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in TEST_CASE()
119 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in TEST_CASE()
184 /* ble_gap_rx_conn_complete() will send extra HCI command, need phony ack */ in TEST_CASE()
H A Dble_hs_stop_test.c150 /* Preload the host with HCI acks for the cancel commands that will be sent in TEST_CASE_TASK()
181 /* Preload the host with HCI acks for the startup sequence. */ in bhst_pre_test()
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_hs_flow.c80 * HCI API when sending it. in ble_hs_flow_tx_num_comp_pkts()
218 * Sends the HCI commands to the controller required for enabling host flow
H A Dble_hs_hci.c350 /* Unblock the application now that the HCI command buffer is populated in ble_hs_hci_rx_ack()
431 BLE_HS_LOG(DEBUG, "host tx hci data; handle=%d length=%d\n", handle, in ble_hs_hci_acl_hdr_prepend()
514 * Transmits an HCI ACL data packet. This function consumes the supplied mbuf,
/nrf52832-nimble/packages/NimBLE-latest/apps/blehci/
H A Dpkg.yml20 pkg.description: BLE controller application exposing HCI over UART

123