/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp_l2cap.h | 26 uint16_t psm; member 59 uint16_t psm; member 94 uint16_t psm; member 101 uint16_t psm; member 113 uint16_t psm; member
|
/Zephyr-latest/tests/bluetooth/l2cap/src/ |
D | main.c | 29 .psm = 0x007f, 34 .psm = 0x00ff, 39 .psm = 0xffff,
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/multilink_peripheral/src/ |
D | central.c | 71 test_l2cap_server.psm = 0; in l2cap_server_register() 78 return test_l2cap_server.psm; in l2cap_server_register() 127 int psm = l2cap_server_register(BT_SECURITY_L1); in entrypoint_central() local 129 LOG_DBG("Registered server PSM %x", psm); in entrypoint_central()
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | l2cap.c | 246 if (server.psm) { in cmd_register() 251 server.psm = strtoul(argv[1], NULL, 16); in cmd_register() 271 server.psm = 0U; in cmd_register() 275 server.psm, server.sec_level); in cmd_register() 318 uint16_t psm; in cmd_ecred_connect() local 333 psm = shell_strtoul(argv[1], 16, &err); in cmd_ecred_connect() 353 err = bt_l2cap_ecred_chan_connect(default_conn, l2cap_ecred_chans, psm); in cmd_ecred_connect() 355 shell_error(sh, "Unable to connect to psm %u (err %d)", psm, err); in cmd_ecred_connect() 366 uint16_t psm; in cmd_connect() local 379 psm = strtoul(argv[1], NULL, 16); in cmd_connect() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | l2cap.h | 245 uint16_t psm; member 295 uint16_t psm; member 504 uint16_t psm; member 581 struct bt_l2cap_chan **chans, uint16_t psm); 665 uint16_t psm);
|
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/dut/src/ |
D | dut.c | 101 test_l2cap_server.psm = L2CAP_TEST_PSM; in l2cap_server_register() 108 return test_l2cap_server.psm; in l2cap_server_register() 194 int psm = l2cap_server_register(BT_SECURITY_L1); in entrypoint_dut() local 196 LOG_DBG("Registered server PSM %x", psm); in entrypoint_dut()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_l2cap.c | 245 uint16_t psm = sys_le16_to_cpu(cp->psm); in connect() local 278 err = bt_l2cap_chan_connect(conn, &chan->le.chan, psm); in connect() 285 psm); in connect() 462 if (servers[i].psm) { in get_free_server() 472 static bool is_free_psm(uint16_t psm) in is_free_psm() argument 477 if (servers[i].psm == psm) { in is_free_psm() 521 uint16_t psm = sys_le16_to_cpu(cp->psm); in listen() local 525 if (psm == 0 || !is_free_psm(psm)) { in listen() 535 server->psm = psm; in listen() 558 server->psm = 0U; in listen()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 202 LOG_DBG("chan %p psm 0x%04x %s -> %s", chan, le_chan->psm, in bt_l2cap_chan_set_state_debug() 282 BT_L2CAP_LE_CHAN(chan)->psm = 0U; in bt_l2cap_chan_del() 535 req->psm = sys_cpu_to_le16(ch->psm); in l2cap_le_conn_req() 576 req->psm = sys_cpu_to_le16(ch->psm); in l2cap_ecred_conn_req() 580 req_psm = ch->psm; in l2cap_ecred_conn_req() 586 __ASSERT(ch->psm == req_psm, in l2cap_ecred_conn_req() 1133 struct bt_l2cap_server *bt_l2cap_server_lookup_psm(uint16_t psm) in bt_l2cap_server_lookup_psm() argument 1138 if (server->psm == psm) { in bt_l2cap_server_lookup_psm() 1152 if (server->psm) { in bt_l2cap_server_register() 1153 if (server->psm < L2CAP_LE_PSM_FIXED_START || in bt_l2cap_server_register() [all …]
|
D | l2cap_internal.h | 84 uint16_t psm; member 121 uint16_t psm; member 238 uint8_t succeeded, uint16_t psm); 239 void (*ecred_conn_req)(struct bt_conn *conn, uint16_t result, uint16_t psm); 246 struct bt_l2cap_server *bt_l2cap_server_lookup_psm(uint16_t psm);
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/ |
D | main.c | 113 test_l2cap_server.psm = 0; in l2cap_server_register() 120 return test_l2cap_server.psm; in l2cap_server_register() 236 int psm = l2cap_server_register(BT_SECURITY_L1); in test_procedure_0() local 238 LOG_DBG("Registered server PSM %x", psm); in test_procedure_0() 239 __ASSERT_NO_MSG(psm == L2CAP_PSM); in test_procedure_0()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | l2cap_br.c | 691 static struct bt_l2cap_server *l2cap_br_server_lookup_psm(uint16_t psm) in l2cap_br_server_lookup_psm() argument 696 if (server->psm == psm) { in l2cap_br_server_lookup_psm() 771 l2cap_br_conn_security(struct bt_l2cap_chan *chan, const uint16_t psm) in l2cap_br_conn_security() argument 897 LOG_DBG("chan %p psm 0x%04x %s -> %s", chan, br_chan->psm, in bt_l2cap_br_chan_set_state_debug() 973 BR_CHAN(chan)->psm = 0U; in bt_l2cap_br_chan_del() 991 uint16_t psm, scid, result; in l2cap_br_conn_req() local 999 psm = sys_le16_to_cpu(req->psm); in l2cap_br_conn_req() 1002 LOG_DBG("psm 0x%02x scid 0x%04x", psm, scid); in l2cap_br_conn_req() 1005 server = l2cap_br_server_lookup_psm(psm); in l2cap_br_conn_req() 1059 switch (l2cap_br_conn_security(chan, psm)) { in l2cap_br_conn_req() [all …]
|
D | l2cap_br_interface.h | 40 uint16_t psm);
|
D | l2cap_br_internal.h | 47 uint16_t psm; member
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/ |
D | main_l2cap_send_on_connect.c | 90 .psm = PSM, 101 err = bt_l2cap_ecred_chan_connect(default_conn, chans, server.psm); in connect_l2cap_channel() 106 err = bt_l2cap_chan_connect(default_conn, &channel.chan, server.psm); in connect_l2cap_channel()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/ |
D | main.c | 169 test_l2cap_server.psm = 0; in l2cap_server_register() 176 return test_l2cap_server.psm; in l2cap_server_register() 227 int psm; in test_peripheral_main() local 255 psm = l2cap_server_register(BT_SECURITY_L1); in test_peripheral_main() 257 LOG_DBG("Registered server PSM %x", psm); in test_peripheral_main()
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 79 uint8_t psm; member 214 return conf->psm; in veml7700_build_psm_param() 459 conf->psm == VEML7700_PSM_DISABLED) { in veml7700_sample_fetch() 523 if (conf->psm != VEML7700_PSM_DISABLED) { in veml7700_pm_action() 567 data->shut_down = (conf->psm != VEML7700_PSM_DISABLED) ? 0 : 1; in veml7700_init() 599 .bus = I2C_DT_SPEC_INST_GET(n), .psm = DT_INST_PROP(n, psm_mode)}; \
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/ |
D | main.c | 158 test_l2cap_server.psm = 0; in l2cap_server_register() 165 return test_l2cap_server.psm; in l2cap_server_register() 242 int psm = l2cap_server_register(BT_SECURITY_L1); in test_peripheral_main() local 244 LOG_DBG("Registered server PSM %x", psm); in test_peripheral_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/ |
D | main.c | 185 test_l2cap_server.psm = 0; in l2cap_server_register() 192 return test_l2cap_server.psm; in l2cap_server_register() 261 int psm = l2cap_server_register(BT_SECURITY_L1); in test_peripheral_main() local 263 LOG_DBG("Registered server PSM %x", psm); in test_peripheral_main()
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | bredr.c | 279 if (br_server.psm) { in cmd_l2cap_register() 284 br_server.psm = strtoul(argv[1], NULL, 16); in cmd_l2cap_register() 288 br_server.psm = 0U; in cmd_l2cap_register() 292 shell_print(sh, "L2CAP psm %u registered", br_server.psm); in cmd_l2cap_register()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 240 test_l2cap_server.psm = 0; in l2cap_server_register() 247 return test_l2cap_server.psm; in l2cap_server_register() 325 int psm = l2cap_server_register(BT_SECURITY_L1); in test_peripheral_main() local 327 LOG_DBG("Registered server PSM %x", psm); in test_peripheral_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/ |
D | main_l2cap_userdata.c | 85 .psm = PSM, 97 err = bt_l2cap_ecred_chan_connect(default_conn, chans, server.psm); in connect_l2cap_channel()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/einprogress/src/ |
D | dut.c | 91 .psm = TEST_DATA_L2CAP_PSM,
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/ |
D | main_l2cap_ecred.c | 243 servers[0].psm); in connect_num_channels() 284 if (servers[i].psm) { in get_free_server() 305 server->psm = 0; in register_l2cap_server() 312 LOG_DBG("L2CAP server registered, PSM:0x%X", server->psm); in register_l2cap_server()
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/host/ |
D | l2cap.rst | 14 L2CAP psm 41 sec_level 1 registered
|
/Zephyr-latest/doc/connectivity/bluetooth/api/ |
D | l2cap.rst | 29 the :c:struct:`bt_l2cap_server` struct which informs what ``psm`` it should
|