Home
last modified time | relevance | path

Searched refs:service_data (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/tests/kernel/msgq/msgq_usage/src/
Dmain.c99 static unsigned long service_data[2]; in service1_entry() local
103 service_data[0] = REGISTER_SERVICE1; in service1_entry()
104 service_data[1] = (unsigned long)&service1_msgq; in service1_entry()
108 ret = k_msgq_put(&manager_q, service_data, K_NO_WAIT); in service1_entry()
113 k_msgq_get(&service1_msgq, service_data, K_FOREVER); in service1_entry()
114 if (service_data[0] == GET_SERVICE) { in service1_entry()
115 client = (struct k_msgq *)service_data[1]; in service1_entry()
116 service_data[0] = SERVICE1_RUNNING; in service1_entry()
117 k_msgq_put(client, service_data, K_NO_WAIT); in service1_entry()
123 service_data[0] = SERVICE_QUIT; in service1_entry()
[all …]
/Zephyr-latest/samples/bluetooth/bthome_sensor_template/src/
Dmain.c20 static uint8_t service_data[SERVICE_DATA_LEN] = { variable
34 BT_DATA(BT_DATA_SVC_DATA16, service_data, ARRAY_SIZE(service_data))
70 service_data[IDX_TEMPH] = (temp * 100) >> 8; in main()
71 service_data[IDX_TEMPL] = (temp * 100) & 0xff; in main()
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c112 void ull_sync_transfer_received_custom_fake(struct ll_conn *conn, uint16_t service_data, in ull_sync_transfer_received_custom_fake() argument
143 uint16_t service_data = 0; in ZTEST() local
175 err = ull_cp_periodic_sync(&conn, sync, adv_sync, service_data); in ZTEST()
213 uint16_t service_data = 0; in ZTEST() local
223 err = ull_cp_periodic_sync(&conn, sync, adv_sync, service_data); in ZTEST()
227 err = ull_cp_periodic_sync(&conn, sync, adv_sync, service_data); in ZTEST()
341 uint16_t service_data = 0; in ZTEST() local
399 err = ull_cp_periodic_sync(&conn, sync, adv_sync, service_data); in ZTEST()
476 uint16_t service_data = 0; in ZTEST() local
509 err = ull_cp_periodic_sync(&conn, sync, adv_sync, service_data); in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_sync_internal.h15 void ull_sync_create_from_sync_transfer(uint16_t conn_handle, uint16_t service_data,
28 void ull_sync_transfer_received(struct ll_conn *conn, uint16_t service_data,
Dull_sync_types.h113 uint16_t service_data; member
Dull_llcp.h286 struct ll_adv_sync_set *adv_sync, uint16_t service_data);
Dull_sync.c203 void ull_sync_setup_from_sync_transfer(struct ll_conn *conn, uint16_t service_data, in ull_sync_setup_from_sync_transfer() argument
318 se_past->service_data = service_data; in ull_sync_setup_from_sync_transfer()
669 uint8_t ll_sync_transfer(uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle) in ll_sync_transfer() argument
686 return ull_cp_periodic_sync(conn, sync, NULL, service_data); in ll_sync_transfer()
1918 void ull_sync_transfer_received(struct ll_conn *conn, uint16_t service_data, argument
1968 ull_sync_setup_from_sync_transfer(conn, service_data, sync, si,
Dull_llcp.c1039 struct ll_adv_sync_set *adv_sync, uint16_t service_data) in ull_cp_periodic_sync() argument
1119 ctx->data.periodic_sync.id = service_data; in ull_cp_periodic_sync()
Dull_adv_sync.c645 uint8_t ll_adv_sync_set_info_transfer(uint16_t conn_handle, uint16_t service_data, in ll_adv_sync_set_info_transfer() argument
673 return ull_cp_periodic_sync(conn, NULL, sync, service_data); in ll_adv_sync_set_info_transfer()
/Zephyr-latest/modules/openthread/platform/
Dble.c102 static uint8_t service_data[OT_TCAT_ADVERTISEMENT_MAX_LEN] = {0}; variable
103 static const uint8_t service_data_size = ARRAY_SIZE(service_data);
107 BT_DATA(BT_DATA_SVC_DATA16, service_data, service_data_size),
112 BT_DATA(BT_DATA_SVC_DATA16, service_data, service_data_size),
416 *aAdvertisementBuffer = service_data; in otPlatBleGetAdvertisementBuffer()
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_gap.h304 uint16_t service_data; member
311 uint16_t service_data; member
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h1585 uint16_t service_data; member
2028 uint16_t service_data);
2045 uint16_t service_data);
Dhci_types.h2006 uint16_t service_data; member
2018 uint16_t service_data; member
2906 uint16_t service_data; member
3307 uint16_t service_data; member
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_past.c467 uint16_t service_data = 0; in test_past_send_main() local
549 err = bt_le_per_adv_sync_transfer(sync, default_conn, service_data); in test_past_send_main()
/Zephyr-latest/subsys/bluetooth/controller/include/
Dll.h138 uint8_t ll_sync_transfer(uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle);
139 uint8_t ll_adv_sync_set_info_transfer(uint16_t conn_handle, uint16_t service_data,
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c793 LOG_DBG("Sync info: service_data 0x%04X", info->service_data); in bap_pa_sync_synced_cb()
1557 uint16_t service_data; in btp_bap_broadcast_assistant_send_past() local
1581 service_data = cp->src_id << 8; in btp_bap_broadcast_assistant_send_past()
1583 err = bt_le_per_adv_sync_transfer(pa_sync, conn, service_data); in btp_bap_broadcast_assistant_send_past()
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c1485 sync_info.service_data = sys_le16_to_cpu(evt->service_data); in bt_hci_le_past_received_common()
2140 uint16_t service_data) in bt_le_per_adv_sync_transfer() argument
2163 cp->service_data = sys_cpu_to_le16(service_data); in bt_le_per_adv_sync_transfer()
Dadv.c2178 uint16_t service_data) in bt_le_per_adv_set_info_transfer() argument
2201 cp->service_data = sys_cpu_to_le16(service_data); in bt_le_per_adv_set_info_transfer()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c4103 uint16_t service_data; local
4110 service_data = sys_le16_to_cpu(cmd->service_data);
4113 status = ll_sync_transfer(conn_handle, service_data, sync_handle);
4125 uint16_t service_data; local
4132 service_data = sys_le16_to_cpu(cmd->service_data);
4135 status = ll_adv_sync_set_info_transfer(conn_handle, service_data, adv_handle);
4457 sep->service_data = sys_cpu_to_le16(se->service_data);
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c1198 phy2str(info->phy), info->service_data, in per_adv_sync_sync_cb()